diff options
author | Bruno Ribas <ribas@c3sl.ufpr.br> | 2008-02-06 18:15:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-08 10:26:27 +0100 |
commit | 201945eeb3b52400e16bb36bf60c56a849c62f32 (patch) | |
tree | 0a81ee536426f56b3646787c3f8ba616a7201bc9 /gitweb/gitweb.perl | |
parent | git.el: Better handling of subprocess errors. (diff) | |
download | git-201945eeb3b52400e16bb36bf60c56a849c62f32.tar.xz git-201945eeb3b52400e16bb36bf60c56a849c62f32.zip |
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 '')
-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 8ef2735c58..5e88637b5e 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')); |