Skip to content

Commit c1dcf7e

Browse files
Bruno Ribasgitster
authored andcommitted
gitweb: Make use of the $git_dir variable at sub git_get_project_description
Signed-off-by: Bruno Ribas <ribas@c3sl.ufpr.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d661146 commit c1dcf7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitweb/gitweb.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ sub git_get_project_description {
16061606
my $path = shift;
16071607

16081608
$git_dir = "$projectroot/$path";
1609-
open my $fd, "$projectroot/$path/description"
1609+
open my $fd, "$git_dir/description"
16101610
or return git_get_project_config('description');
16111611
my $descr = <$fd>;
16121612
close $fd;

0 commit comments

Comments
 (0)