From: Petr Baudis Date: Fri, 6 Oct 2006 16:59:33 +0000 (+0200) Subject: gitweb: [commit view] Do not suppress commitdiff link in root commit X-Git-Tag: v1.4.3-rc2~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a144154f85fe1d61da2a515e79ea1d08b5137f20;p=git.git 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 --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index c7a245ac2..cdb09c433 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2957,7 +2957,7 @@ sub git_commit { "blame"); } 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));