Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Fix @git_base_url_list usage
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>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
d726720
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 30d7d76723eeba529a8e5d095a66982f100b2beb..7ff5c047f3a2a180776c34c5e40debc1fffb8268 100755
(executable)
--- 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;