git gui produces series of commits with exactly the same time

4 messages, 2 authors, 2016-06-30 · open the first message on its own page

git gui produces series of commits with exactly the same time

From: Andrei Faber <hidden>
Date: 2016-06-29 08:13:10

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.)


-- 
Best wishes,
Andrei Faber

Re: git gui produces series of commits with exactly the same time

From: Johannes Schindelin <hidden>
Date: 2016-06-29 11:45:19

Hi Andrei,

On Wed, 29 Jun 2016, Andrei Faber wrote:
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

Re: git gui produces series of commits with exactly the same time

From: Andrei Faber <hidden>
Date: 2016-06-29 11:51:26

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

On 29/06/2016 18:45, Johannes Schindelin wrote:
Hi Andrei,

On Wed, 29 Jun 2016, Andrei Faber wrote:
quoted
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

Re: git gui produces series of commits with exactly the same time

From: Andrei Faber <hidden>
Date: 2016-06-30 05:59:20

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

On 29/06/2016 18:45, Johannes Schindelin wrote:
Hi Andrei,

On Wed, 29 Jun 2016, Andrei Faber wrote:
quoted
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help