提交 74d61667 编写于 作者: P Petr Baudis 提交者: Junio C Hamano

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: NJunio C Hamano <junkio@cox.net>
上级 d7267207
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册