]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: [commit view] Do not suppress commitdiff link in root commit
authorPetr Baudis <redacted>
Fri, 6 Oct 2006 16:59:33 +0000 (18:59 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 21e19f0d90f070eb0b2e76fe56c2d81317b4e31a07928f79c510e1d1d4666a90..c3b2f360704ffbf717243854c8fed4c1861423e44d60ae9d4217ecab650febae 100755 (executable)
@@ -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));
 
This page took 0.240593 seconds and 4 git commands to generate.