]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Link to associated tree from a particular log item in full log view
authorPetr Baudis <redacted>
Fri, 22 Sep 2006 01:19:48 +0000 (03:19 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
Signed-off-by: Petr Baudis <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 806e6d2ea7033f4732b1bf99b32a743287535995613d88f319ac6b6092722283..d9873e92b95467ce748bed4d329f7f241165befc9d4ddf138c30e7317f73d28b 100755 (executable)
@@ -2870,6 +2870,8 @@ sub git_log {
                      $cgi->a({-href => href(action=>"commit", hash=>$commit)}, "commit") .
                      " | " .
                      $cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") .
+                     " | " .
+                     $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" .
This page took 0.199163 seconds and 4 git commands to generate.