aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorBruno Ribas <ribas@c3sl.ufpr.br>2008-02-06 15:15:12 -0200
committerJunio C Hamano <gitster@pobox.com>2008-02-08 01:26:27 -0800
commit201945eeb3b52400e16bb36bf60c56a849c62f32 (patch)
tree0a81ee536426f56b3646787c3f8ba616a7201bc9 /gitweb
parent0520e2154fb6a7418663bdee839c3448d51b9ae4 (diff)
downloadgit-201945eeb3b52400e16bb36bf60c56a849c62f32.tar.gz
git-201945eeb3b52400e16bb36bf60c56a849c62f32.tar.xz
gitweb: Make use of the $git_dir variable at sub git_get_project_url_list
Signed-off-by: Bruno Ribas <ribas@c3sl.ufpr.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 8ef2735c5..5e88637b5 100755
--- 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'));