From: Petr Baudis Date: Fri, 22 Sep 2006 01:19:46 GMT Subject: [PATCH 3/6] gitweb: Link to latest tree from the head line in heads list Message-ID: <20060922011946.15909.10313.stgit@rover> In-Reply-To: <20060922011941.15909.32671.stgit@rover> Signed-off-by: Petr Baudis --- gitweb/gitweb.perl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 1b1653a..0a91394 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2164,7 +2164,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" . ""; }