@matheusbsbs / matheus-bagliano / commits / 201945eeb3
Fork 0

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>

Bruno Ribas committed Feb 6, 2008 at 15:15 UTC 201945eeb3b52400e16bb36bf60c56a849c62f32
1 file changed +1 -1
gitweb/gitweb.perl
+1 -1
@@ -1620,7 +1620,7 @@ sub git_get_project_url_list {
1620 my $path = shift;
1621
1622 $git_dir = "$projectroot/$path";
1623 - open my $fd, "$projectroot/$path/cloneurl"
1623 + open my $fd, "$git_dir/cloneurl"
1624 or return wantarray ?
1625 @{ config_to_multi(git_get_project_config('url')) } :
1626 config_to_multi(git_get_project_config('url'));