author | Flavio Poletti <flavio@polettix.it> | |
Thu, 12 Jun 2008 21:54:55 +0000 (23:54 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 14 Jun 2008 05:08:30 +0000 (22:08 -0700) | ||
commit | 43d60d2e59cb466717290984becc8687fc632ca1 | |
tree | 4bf83b234eaa35f9cf8ec747d3b5614866d295f6 | tree | snapshot |
parent | d88593fa0412a4f0a363860d879e97635c118616 | commit | diff |
git-instaweb: improve auto-discovery of httpd and call conventions.
This patch allows calling:
git-instaweb -d apache2
and have the script Do The Right Thing. In particular, the auto-discovery
mechanism has been extended in order to be used for module listing as
well, and the call convention is that if the daemon is apache2/lighttpd
and the parameter to the "-d" option does not end by "-f", the "-f" is
added to the end of the option itself.
Change all backticks to $( ... ) as per Documentation/CodingGuidelines.
Signed-off-by: Flavio Poletti <flavio@polettix.it>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This patch allows calling:
git-instaweb -d apache2
and have the script Do The Right Thing. In particular, the auto-discovery
mechanism has been extended in order to be used for module listing as
well, and the call convention is that if the daemon is apache2/lighttpd
and the parameter to the "-d" option does not end by "-f", the "-f" is
added to the end of the option itself.
Change all backticks to $( ... ) as per Documentation/CodingGuidelines.
Signed-off-by: Flavio Poletti <flavio@polettix.it>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-instaweb.sh | diff | blob | history |