Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Make use of the $git_dir variable at sub git_get_project_url_list
author
Bruno Ribas
<ribas@c3sl.ufpr.br>
Wed, 6 Feb 2008 17:15:12 +0000
(15:15 -0200)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 8 Feb 2008 09:26:27 +0000
(
01:26
-0800)
Signed-off-by: Bruno Ribas <ribas@c3sl.ufpr.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
0520e21
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 8ef2735c5857dd314318cae8839426543c34f8ee..5e88637b5e0e67143692bac336a57ab6cc1c0c38 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-1620,7
+1620,7
@@
sub git_get_project_url_list {
my $path = shift;
$git_dir = "$projectroot/$path";
- open my $fd, "$
projectroot/$path
/cloneurl"
+ open my $fd, "$
git_dir
/cloneurl"
or return wantarray ?
@{ config_to_multi(git_get_project_config('url')) } :
config_to_multi(git_get_project_config('url'));