From: Petr Baudis Date: Fri, 22 Sep 2006 01:19:48 +0000 (+0200) Subject: gitweb: Link to associated tree from a particular log item in full log view X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/f4dcaf659d29f6b34e51e2e2131c47dbead225164d0dc080c621a117c4a8a51d?ds=sidebyside gitweb: Link to associated tree from a particular log item in full log view Signed-off-by: Petr Baudis Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 806e6d2..d9873e9 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -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") . "
\n" . "\n" . "" . esc_html($co{'author_name'}) . " [$ad{'rfc2822'}]
\n" .