diff options
author | Petr Baudis <pasky@suse.cz> | 2006-09-23 01:15:18 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-22 16:59:04 -0700 |
commit | 74d6166751ddcf08029ffc90a14158a86f80cd40 (patch) | |
tree | 35886271a6c076ab8f9f7f69a230f232d87c68cd | |
parent | gitweb: Fix tree link associated with each commit log entry. (diff) | |
download | tgif-74d6166751ddcf08029ffc90a14158a86f80cd40.tar.xz |
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>
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 30d7d76723..7ff5c047f3 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; |