Code

lib-git-svn.sh: Avoid setting web server variables unnecessarily
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Tue, 14 Dec 2010 18:22:29 +0000 (18:22 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Dec 2010 19:09:13 +0000 (11:09 -0800)
commitb6fe97483fdfec2176cf17dd38821cad0200a126
treefb8a41d2719504c99a24c5045b51da2a5c4fcc6b
parent531dd7bbf4e579334cddb5be54af94c8d339df10
lib-git-svn.sh: Avoid setting web server variables unnecessarily

If the SVN_HTTPD_PORT variable is not set, then we will not even
attempt to start a web server in the start_httpd function (despite
it's name), so there is no need to determine values for the
SVN_HTTPD_PATH and SVN_HTTPD_MODULE_PATH variables.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-git-svn.sh