git gui produces series of commits with exactly the same time
Hi everyone,
I've noticed that git history contains series of commits with exactly the same time, despite the real commit time of these commits was different. All these commit were made using the git gui tool. I'm the only developer in this project.
Has anyone experienced the same problem?
(I'm currently using Git 2.9.0 x64 under Windows.)
Signature · 2 lines
Best wishes, Andrei Faber
Hi Andrei,
Quoted 4 lines · Andrei Faber
I've noticed that git history contains series of commits with exactly the same time, despite the real commit time of these commits was different. All these commit were made using the git gui tool. I'm the only developer in this project.
Is it possible that you played games with your GIT_AUTHOR_DATE environment variable?
Ciao,
Johannes
Hi Johannes,
No.
Another thing I've found is that these commits have different timestamp in the "Author" and "Committer" lines. The "Committer" lines have correct timestamps, and the "Author" timestamp is wrong.
Best wishes,
Andrei Faber
Quoted 14 lines · Johannes Schindelin
Hi Andrei,
Quoted 4 lines · Andrei Faber
I've noticed that git history contains series of commits with exactly the same time, despite the real commit time of these commits was different. All these commit were made using the git gui tool. I'm the only developer in this project.
Is it possible that you played games with your
GIT_AUTHOR_DATEenvironment variable?Ciao,
Johannes
Hi everyone,
I've found one case when this bug happens.
1. Create a commit
2. Amend it
3. Create several new commits
All the new commits have the same "Author" timestamp until the git gui is restarted.
Can anyone reproduce this?
Best wishes,
Andrei Faber
Quoted 14 lines · Johannes Schindelin
Hi Andrei,
Quoted 4 lines · Andrei Faber
I've noticed that git history contains series of commits with exactly the same time, despite the real commit time of these commits was different. All these commit were made using the git gui tool. I'm the only developer in this project.
Is it possible that you played games with your
GIT_AUTHOR_DATEenvironment variable?Ciao,
Johannes