aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-09-22 03:19:46 +0200
committerJunio C Hamano <junkio@cox.net>2006-09-21 21:00:51 -0700
commit1d62be25ed931f1892fad8639037c99677db5d1d (patch)
tree31ace69f9c05bd0e85417088b532b3ab4fa690da /gitweb
parent35749ae566b15d1860cbfba5bc5ac227eb785715 (diff)
downloadgit-1d62be25ed931f1892fad8639037c99677db5d1d.tar.gz
git-1d62be25ed931f1892fad8639037c99677db5d1d.tar.xz
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-xgitweb/gitweb.perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index cbbd75c2c..0091e1821 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>";
}