gitweb: Link to associated tree from a particular log item in full log view
authorPetr Baudis <pasky@suse.cz>
Fri, 22 Sep 2006 01:19:48 +0000 (03:19 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 22 Sep 2006 04:01:28 +0000 (21:01 -0700)
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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" .