Code

gitweb: Add snapshot to shortlog
authorLuben Tuikov <ltuikov@yahoo.com>
Thu, 28 Sep 2006 23:50:09 +0000 (16:50 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Sep 2006 01:57:00 +0000 (18:57 -0700)
Add snapshot to each commit-row of shortlog.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index 97b30aa5c5eee1cf980799904977c473ac2537fe..8ad04570a8ae486989ea190d1395a8db4b072a34 100755 (executable)
@@ -2021,7 +2021,8 @@ sub git_shortlog_body {
                print "</td>\n" .
                      "<td class=\"link\">" .
                      $cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") . " | " .
-                     $cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree");
+                     $cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree") . " | " .
+                     $cgi->a({-href => href(action=>"snapshot", hash=>$commit)}, "snapshot");
                print "</td>\n" .
                      "</tr>\n";
        }