Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
cvs2git: set timezone info to UTC, the way CVS does
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 24 May 2005 17:15:42 +0000
(10:15 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 24 May 2005 17:15:42 +0000
(10:15 -0700)
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.
cvs2git.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
b535a80
)
diff --git
a/cvs2git.c
b/cvs2git.c
index b63b8bc53d0512cb842f5c1fc70be9f460442214..8a76734a021b5bdf76adf92196d5ae72123e7ec5 100644
(file)
--- a/
cvs2git.c
+++ b/
cvs2git.c
@@
-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_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_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;
if (initial_commit)
return;