git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gitweb: Add snapshot to shortlog
@ 2006-09-28 23:50 Luben Tuikov
  2006-10-03  9:07 ` Jakub Narebski
  0 siblings, 1 reply; 3+ messages in thread
From: Luben Tuikov @ 2006-09-28 23:50 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

Add snapshot to each commit-row of shortlog.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
---
 gitweb/gitweb.perl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

[-- Attachment #2: 4046732943-p4.txt --]
[-- Type: text/plain, Size: 672 bytes --]

diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index a2f07cc..953a0ef 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -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";
 	}
-- 
1.4.2.1.g05f0f


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-06 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-28 23:50 [PATCH] gitweb: Add snapshot to shortlog Luben Tuikov
2006-10-03  9:07 ` Jakub Narebski
2006-10-06 13:57   ` [PATCH] Show snapshot link in shortlog only if have_snapsho Petr Baudis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).