cvs2git: add support for GIT_COMMITTER_DATE
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 May 2005 16:59:55 +0000 (09:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 May 2005 16:59:55 +0000 (09:59 -0700)
Of course, this requires a version of git that cares..

cvs2git.c

index 462a873..b63b8bc 100644 (file)
--- a/cvs2git.c
+++ b/cvs2git.c
@@ -69,10 +69,10 @@ static void prepare_commit(void)
 
        printf("export GIT_COMMITTER_NAME=%s\n", author_name);
        printf("export GIT_COMMITTER_EMAIL=%s\n", author_email);
+       printf("export GIT_COMMITTER_DATE='%s'\n", date);
 
        printf("export GIT_AUTHOR_NAME=%s\n", author_name);
        printf("export GIT_AUTHOR_EMAIL=%s\n", author_email);
-
        printf("export GIT_AUTHOR_DATE='%s'\n", date);
 
        if (initial_commit)