From: Bruno Ribas Date: Wed, 30 Jan 2008 05:37:56 +0000 (-0200) Subject: gitweb: Make use of the $git_dir variable at sub git_get_project_description X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/bb12dc1800eedd9ac110713e6307fa4633af32e26fa725c8869c102f6c5ca5a3 gitweb: Make use of the $git_dir variable at sub git_get_project_description Signed-off-by: Bruno Ribas Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 134b39d..1b46035 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -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;