From: Petr Baudis Date: Fri, 22 Sep 2006 01:19:46 +0000 (+0200) Subject: gitweb: Link to latest tree from the head line in heads list X-Git-Tag: v1.4.3-rc1~59 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1d62be25ed931f1892fad8639037c99677db5d1d;p=git.git gitweb: Link to latest tree from the head line in heads list Signed-off-by: Petr Baudis Signed-off-by: Junio C Hamano --- 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 { "\n" . "" . $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") . "\n" . ""; }