[PATCH] Set correct date for tags.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux