]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Make use of the $git_dir variable at sub git_get_project_url_list
authorBruno Ribas <redacted>
Wed, 6 Feb 2008 17:15:12 +0000 (15:15 -0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:12 +0000 (00:07 -0400)
Signed-off-by: Bruno Ribas <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index ff3623bad8aefdd2dc26664c4bf67735486eb5b3e023950ffa7e87b8a00398e5..911ecd98cd59485f2d43ba8b0ad913ac4b23d440186aa0bbb1cd4d522a3b700f 100755 (executable)
@@ -1621,7 +1621,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'));
This page took 0.107964 seconds and 4 git commands to generate.