@matheusbsbs / matheus-bagliano / commits / 1d62be25ed
Fork 0

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>

Petr Baudis committed Sep 22, 2006 at 03:19 UTC 1d62be25ed931f1892fad8639037c99677db5d1d
1 file changed +2 -1
gitweb/gitweb.perl
+2 -1
@@ -2163,7 +2163,8 @@ sub git_heads_body {
2163 "</td>\n" .
2164 "<td class=\"link\">" .
2165 $cgi->a({-href => href(action=>"shortlog", hash=>$tag{'name'})}, "shortlog") . " | " .
2166 - $cgi->a({-href => href(action=>"log", hash=>$tag{'name'})}, "log") .
2166 + $cgi->a({-href => href(action=>"log", hash=>$tag{'name'})}, "log") . " | " .
2167 + $cgi->a({-href => href(action=>"tree", hash=>$tag{'name'}, hash_base=>$tag{'name'})}, "tree") .
2168 "</td>\n" .
2169 "</tr>";
2170 }