1. Stefan Saasen
  2. git


Bruno Ribas  committed c1dcf7e

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>

  • Participants
  • Parent commits d661146
  • Branches master

Comments (0)

Files changed (1)

File gitweb/gitweb.perl

View file
  • Ignore whitespace
 	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;