gitweb: Link to associated tree from a particular log item in full log view
[gitweb.git] / gitweb / gitweb.perl
index 0091e18215bc1c4de377db9a115df9e3ceead6b9..34ef3fc8e9a8df031fa3ef6652fa1d5db1653618 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" .