mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
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>
This commit is contained in:
parent
0520e2154f
commit
201945eeb3
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user