Skip to content

Commit

Permalink
gitweb: Make use of the $git_dir variable at sub git_get_project_desc…
Browse files Browse the repository at this point in the history
…ription

Signed-off-by: Bruno Ribas <ribas@c3sl.ufpr.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Bruno Ribas authored and Junio C Hamano committed Jan 30, 2008
1 parent d661146 commit c1dcf7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c1dcf7e

Please sign in to comment.