]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Fix tree link associated with each commit log entry.
authorPetr Baudis <redacted>
Fri, 22 Sep 2006 23:56:43 +0000 (16:56 -0700)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
The link forgot to have hb parameter and the resulting tree view
failed to show the navbar for that commit.

Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 808defdcea00d22b361222426bb18d9ae88d2048446e208f106bdb2eaa765fb0..8621505d82270a220883190d7c57058a0ee58f9db663d17d4abb28184de4edc9 100755 (executable)
@@ -2871,7 +2871,7 @@ sub git_log {
                      " | " .
                      $cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") .
                      " | " .
                      " | " .
                      $cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") .
                      " | " .
-                     $cgi->a({-href => href(action=>"tree", hash=>$commit), hash_base=>$commit}, "tree") .
+                     $cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree") .
                      "<br/>\n" .
                      "</div>\n" .
                      "<i>" . esc_html($co{'author_name'}) .  " [$ad{'rfc2822'}]</i><br/>\n" .
                      "<br/>\n" .
                      "</div>\n" .
                      "<i>" . esc_html($co{'author_name'}) .  " [$ad{'rfc2822'}]</i><br/>\n" .
This page took 0.294619 seconds and 4 git commands to generate.