]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Make use of the $git_dir variable at sub git_get_project_description
authorBruno Ribas <redacted>
Wed, 30 Jan 2008 05:37:56 +0000 (03:37 -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 134b39d71f9b8ed7d662bf4284371bec9f93dcd7f49416aadc5f1d597591a081..1b46035b38a311b0fab30c6d01293e1890e4582f090b7af70adfa1c474d02031 100755 (executable)
@@ -1607,7 +1607,7 @@ sub git_get_project_description {
        my $path = shift;
 
        $git_dir = "$projectroot/$path";
-       open my $fd, "$projectroot/$path/description"
+       open my $fd, "$git_dir/description"
                or return git_get_project_config('description');
        my $descr = <$fd>;
        close $fd;
This page took 0.25561 seconds and 4 git commands to generate.