git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Set correct date for tags.
@ 2007-06-21  2:15 Dave O'Neill
  2007-06-21  2:52 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Dave O'Neill @ 2007-06-21  2:15 UTC (permalink / raw)
  To: git; +Cc: Dave O'Neill

Without this, all tags show up as 'unknown' time in gitweb (and probably
elsewhere)
---
 git-svnimport.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-svnimport.perl b/git-svnimport.perl
index 7076f41..9526f3d 100755
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
@@ -891,7 +891,7 @@ sub commit {
 		print $out ("object $cid\n".
 		    "type commit\n".
 		    "tag $dest\n".
-		    "tagger $committer_name <$committer_email> 0 +0000\n") and
+		    "tagger $committer_name <$committer_email> $date +0000\n") and
 		close($out)
 		    or die "Cannot create tag object $dest: $!\n";
 
-- 
1.5.2.2.239.g89630

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

end of thread, other threads:[~2007-06-21 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-21  2:15 [PATCH] Set correct date for tags Dave O'Neill
2007-06-21  2:52 ` Junio C Hamano
2007-06-21 21:48   ` [PATCH] Generate tags with correct timestamp (git-svnimport) Dave O'Neill

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).