gitweb: Add snapshot to shortlog
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>
Luben Tuikov committed
Sep 28, 2006 at 16:50 UTC
ba6ef81017a84c2fce822b7ceba74f67dea6919e
1 file changed
+2
-1
gitweb/gitweb.perl
+2
-1
@@ -2021,7 +2021,8 @@ sub git_shortlog_body {
2021
print "</td>\n" .
2022
"<td class=\"link\">" .
2023
$cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") . " | " .
2024
- $cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree");
2024
+ $cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree") . " | " .
2025
+ $cgi->a({-href => href(action=>"snapshot", hash=>$commit)}, "snapshot");
2026
print "</td>\n" .
2027
"</tr>\n";
2028
}