From: Petr Baudis Date: Fri, 22 Sep 2006 23:15:18 +0000 (+0200) Subject: gitweb: Fix @git_base_url_list usage X-Git-Tag: v1.4.3-rc1~53 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=74d6166751ddcf08029ffc90a14158a86f80cd40;p=git.git 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 --- 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;