diff options
author | Petr Baudis <pasky@suse.cz> | 2006-09-22 05:19:46 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-22 08:00:51 +0400 |
commit | 1d62be25ed931f1892fad8639037c99677db5d1d (patch) | |
tree | 31ace69f9c05bd0e85417088b532b3ab4fa690da /gitweb | |
parent | 35749ae566b15d1860cbfba5bc5ac227eb785715 (diff) |
gitweb: Link to latest tree from the head line in heads list
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index cbbd75c2c7..0091e18215 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2163,7 +2163,8 @@ sub git_heads_body { "</td>\n" . "<td class=\"link\">" . $cgi->a({-href => href(action=>"shortlog", hash=>$tag{'name'})}, "shortlog") . " | " . - $cgi->a({-href => href(action=>"log", hash=>$tag{'name'})}, "log") . + $cgi->a({-href => href(action=>"log", hash=>$tag{'name'})}, "log") . " | " . + $cgi->a({-href => href(action=>"tree", hash=>$tag{'name'}, hash_base=>$tag{'name'})}, "tree") . "</td>\n" . "</tr>"; } |