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>
Petr Baudis committed
Sep 23, 2006 at 01:15 UTC
74d6166751ddcf08029ffc90a14158a86f80cd40
1 file changed
+1
-1
gitweb/gitweb.perl
+1
-1
@@ -752,7 +752,7 @@ sub git_get_project_description {
752
sub git_get_project_url_list {
753
my $path = shift;
754
755
- open my $fd, "$projectroot/$path/cloneurl" or return undef;
755
+ open my $fd, "$projectroot/$path/cloneurl" or return;
756
my @git_project_url_list = map { chomp; $_ } <$fd>;
757
close $fd;
758