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-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/93eadd7aa536a598f3069a61cf6725392b8cb9c05d40d8bdf8ffb3b63affe51d?ds=sidebyside 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.perl b/gitweb.perl index 21e19f0..c3b2f36 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -3057,7 +3057,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));