summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Ribas <ribas@c3sl.ufpr.br>2008-01-30 05:37:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-01-30 07:55:18 (GMT)
commitc1dcf7ebf222e7c24b89b40bc00a6ca5e9e2eec6 (patch)
tree7073860d33c0abc6a7d53f2fed45b637c4de3606
parentd661146ac2ada526e80dbb6234f8f8da6642ffcb (diff)
downloadgit-c1dcf7ebf222e7c24b89b40bc00a6ca5e9e2eec6.zip
git-c1dcf7ebf222e7c24b89b40bc00a6ca5e9e2eec6.tar.gz
git-c1dcf7ebf222e7c24b89b40bc00a6ca5e9e2eec6.tar.bz2
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>
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 80e3d0a..ae2d057 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -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;