diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-24 10:15:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-24 10:15:42 -0700 |
commit | 1db0819a9cb30234678df73a99b82cb96babeca5 (patch) | |
tree | 15eed4daaa8947347e7f5f6d45f1e59e3f161bf8 | |
parent | b535a802b2b849f67a57c689eadf3faf87b819b3 (diff) | |
download | git-1db0819a9cb30234678df73a99b82cb96babeca5.tar.gz git-1db0819a9cb30234678df73a99b82cb96babeca5.tar.xz |
cvs2git: set timezone info to UTC, the way CVS does
This should also mean that the conversion is now completely
defined by the CVS tree, and that two people doing a cvs2git
conversion on the same base will always get the same results
regardless of when or in what timezone they do it.
-rw-r--r-- | cvs2git.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,11 +69,11 @@ 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_COMMITTER_DATE='+0000 %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); + printf("export GIT_AUTHOR_DATE='+0000 %s'\n", date); if (initial_commit) return; |