]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Link to latest tree from the head line in heads list
authorPetr Baudis <redacted>
Fri, 22 Sep 2006 01:19:46 +0000 (03:19 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
Signed-off-by: Petr Baudis <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index b8a701f60cdbf7021376ca3a97c468b40d04efabd3c7fa83d1b1d57a55fd08ac..806e6d2ea7033f4732b1bf99b32a743287535995613d88f319ac6b6092722283 100755 (executable)
@@ -2163,7 +2163,8 @@ sub git_heads_body {
                      "</td>\n" .
                      "<td class=\"link\">" .
                      $cgi->a({-href => href(action=>"shortlog", hash=>$tag{'name'})}, "shortlog") . " | " .
                      "</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>";
        }
                      "</td>\n" .
                      "</tr>";
        }
This page took 0.167096 seconds and 4 git commands to generate.