projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d661146
)
gitweb: Make use of the $git_dir variable at sub git_get_project_description
author
Bruno Ribas
<ribas@c3sl.ufpr.br>
Wed, 30 Jan 2008 05:37:56 +0000
(
03:37
-0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 30 Jan 2008 07:55:18 +0000
(23:55 -0800)
Signed-off-by: Bruno Ribas <ribas@c3sl.ufpr.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl
patch
|
blob
|
history
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 80e3d0ac47e73943a72c2a5d92067d11fa443d30..ae2d05763fc2d41c9bffdad8809e4e370389412c 100755
(executable)
--- 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;