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>
Bruno Ribas committed
Jan 30, 2008 at 03:37 UTC
c1dcf7ebf222e7c24b89b40bc00a6ca5e9e2eec6
1 file changed
+1
-1
gitweb/gitweb.perl
+1
-1
@@ -1606,7 +1606,7 @@ sub git_get_project_description {
1606
my $path = shift;
1607
1608
$git_dir = "$projectroot/$path";
1609
- open my $fd, "$projectroot/$path/description"
1609
+ open my $fd, "$git_dir/description"
1610
or return git_get_project_config('description');
1611
my $descr = <$fd>;
1612
close $fd;