Skip to content

Commit

Permalink
gitweb: Fix @git_base_url_list usage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Petr Baudis authored and Junio C Hamano committed Sep 22, 2006
1 parent d726720 commit 74d6166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 74d6166

Please sign in to comment.