Petr Baudis  committed a144154

gitweb: [commit view] Do not suppress commitdiff link in root commit

There's no reason for that, the commitdiff view is meaningful for the
root commit as well and we link to it everywhere else.

Signed-off-by: Petr Baudis <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 7e0fe5c
  • Branches master

Comments (0)

Files changed (1)

File gitweb/gitweb.perl

 	git_header_html(undef, $expires);
-	git_print_page_nav('commit', defined $co{'parent'} ? '' : 'commitdiff',
+	git_print_page_nav('commit', '',
 	                   $hash, $co{'tree'}, $hash,
 	                   join (' | ', @views_nav));