git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Set correct date for tags.

From
DODave O'Neill <dmo@roaringpenguin.com>
Date
Jun 21, 2007, 02:15 UTC
Message-ID
<11823921031931-git-send-email-dmo@roaringpenguin.com>
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
Next: Junio C Hamano
Message 1 of 3 in “Set correct date for tags.”
  1. Set correct date for tags.Dave O'Neill, Jun 21, 2007
  2. Junio C HamanoJun 21, 2007
  3. Generate tags with correct timestamp (git-svnimport)Dave O'Neill, Jun 21, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.