summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-10-27 02:16:18 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-27 02:16:18 -0700
commit019298015bb7c826b72f2573047b7221b0921fd3 (patch)
tree5e58905d9adbdb421002d3052869615e3963a761 /gitweb/gitweb.perl
parentMake filenames line up in git-status output (diff)
parentgitweb: Check git base URLs before generating URL from it (diff)
downloadtgif-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/gitweb.perl')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 5a81b8ffcd..aceaeb7675 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';