aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-09-23 01:15:18 +0200
committerJunio C Hamano <junkio@cox.net>2006-09-22 16:59:04 -0700
commit74d6166751ddcf08029ffc90a14158a86f80cd40 (patch)
tree35886271a6c076ab8f9f7f69a230f232d87c68cd /gitweb
parentd72672074361a738afbf3139d8921ddf8bd782f8 (diff)
downloadgit-74d6166751ddcf08029ffc90a14158a86f80cd40.tar.gz
git-74d6166751ddcf08029ffc90a14158a86f80cd40.tar.xz
gitweb: Fix @git_base_url_list usage
As it is now, that array was never used because the customurl accessor was broken and ''unless @url_list'' never happenned. Signed-off-by: Junio C Hamano <junkio@cox.net>
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 30d7d7672..7ff5c047f 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -752,7 +752,7 @@ sub git_get_project_description {
sub git_get_project_url_list {
my $path = shift;
- open my $fd, "$projectroot/$path/cloneurl" or return undef;
+ open my $fd, "$projectroot/$path/cloneurl" or return;
my @git_project_url_list = map { chomp; $_ } <$fd>;
close $fd;