Code

svnimport: Fix broken tags being generated
authorPetr Baudis <pasky@suse.cz>
Mon, 16 Oct 2006 01:00:37 +0000 (03:00 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 16 Oct 2006 05:36:35 +0000 (22:36 -0700)
Currently git-svnimport generates broken tags missing the timespec in the
'tagger' line. This is a random stab at a minimal fix.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svnimport.perl

index 988514e293fcde4c536cc18d5cd8c9fb77b890d3..aca0e4f64ebb467cf5ba69dfbfaa55a4da6e6d3d 100755 (executable)
@@ -838,7 +838,7 @@ sub commit {
                print $out ("object $cid\n".
                    "type commit\n".
                    "tag $dest\n".
-                   "tagger $committer_name <$committer_email>\n") and
+                   "tagger $committer_name <$committer_email> 0 +0000\n") and
                close($out)
                    or die "Cannot create tag object $dest: $!\n";