Commit c1dcf7eb authored by Bruno Ribas's avatar Bruno Ribas Committed by Junio C Hamano

gitweb: Make use of the $git_dir variable at sub git_get_project_description

Signed-off-by: default avatarBruno Ribas <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent d661146a
......@@ -1606,7 +1606,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment