aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-10-27 02:16:18 -0700
committerJunio C Hamano <junkio@cox.net>2006-10-27 02:16:18 -0700
commit019298015bb7c826b72f2573047b7221b0921fd3 (patch)
tree5e58905d9adbdb421002d3052869615e3963a761 /gitweb
parent543551e53a8f8e52e72571e1f24f81d7f6598f9b (diff)
parentd6b7e0b98f8d0f84e3b2614b33b52402fefb5735 (diff)
downloadgit-019298015bb7c826b72f2573047b7221b0921fd3.tar.gz
git-019298015bb7c826b72f2573047b7221b0921fd3.tar.xz
Merge branch 'maint'
* maint: gitweb: Check git base URLs before generating URL from it Documentation: add git in /etc/services. Documentation: add upload-archive service to git-daemon. git-cherry: document limit and add diagram diff-format.txt: Correct information about pathnames quoting in patch format
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 5a81b8ffc..aceaeb767 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -80,7 +80,7 @@ our $strict_export = "++GITWEB_STRICT_EXPORT++";
# list of git base URLs used for URL to where fetch project from,
# i.e. full URL is "$git_base_url/$project"
-our @git_base_url_list = ("++GITWEB_BASE_URL++");
+our @git_base_url_list = grep { $_ ne '' } ("++GITWEB_BASE_URL++");
# default blob_plain mimetype and default charset for text/plain blob
our $default_blob_plain_mimetype = 'text/plain';