diff options
author | Petr Baudis <pasky@suse.cz> | 2006-09-22 03:19:48 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-21 21:01:28 -0700 |
commit | 6ef4cb2e8dd791612044f5e71f61a4788e87c4ac (patch) | |
tree | 54d2c82f413f58bde4e09b2add54a999bb898502 /gitweb | |
parent | 1d62be25ed931f1892fad8639037c99677db5d1d (diff) | |
download | git-6ef4cb2e8dd791612044f5e71f61a4788e87c4ac.tar.gz git-6ef4cb2e8dd791612044f5e71f61a4788e87c4ac.tar.xz |
gitweb: Link to associated tree from a particular log item in full log view
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitweb')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 0091e1821..34ef3fc8e 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/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") . "<br/>\n" . "</div>\n" . "<i>" . esc_html($co{'author_name'}) . " [$ad{'rfc2822'}]</i><br/>\n" . |