summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d726720)
raw | patch | inline | side by side (parent: d726720)
author | Petr Baudis <pasky@suse.cz> | |
Fri, 22 Sep 2006 23:15:18 +0000 (01:15 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 22 Sep 2006 23:59:04 +0000 (16:59 -0700) |
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>
broken and ''unless @url_list'' never happenned.
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 30d7d76723eeba529a8e5d095a66982f100b2beb..7ff5c047f3a2a180776c34c5e40debc1fffb8268 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
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;