# git gui produces series of commits with exactly the same time

4 messages from 2016-06-29 to 2016-06-30. Participants: Andrei Faber, Johannes Schindelin.
Thread: https://gitlist.dev/t/42742

## Andrei Faber, 2016-06-29 08:12

Subject: git gui produces series of commits with exactly the same time
Message-ID: <37a71a23-ded6-9d48-a873-a05f33e802bd@gmail.com>
URL: https://gitlist.dev/e/37a71a23-ded6-9d48-a873-a05f33e802bd%40gmail.com

```
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


```

## Johannes Schindelin, 2016-06-29 11:45

Subject: Re: git gui produces series of commits with exactly the same time
Message-ID: <alpine.DEB.2.20.1606291344400.12947@virtualbox>
URL: https://gitlist.dev/e/alpine.DEB.2.20.1606291344400.12947%40virtualbox
In-Reply-To: <37a71a23-ded6-9d48-a873-a05f33e802bd@gmail.com>

```
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

```

## Andrei Faber, 2016-06-29 11:51

Subject: Re: git gui produces series of commits with exactly the same time
Message-ID: <97cb482e-2023-52d7-d8ba-149923c85a3b@gmail.com>
URL: https://gitlist.dev/e/97cb482e-2023-52d7-d8ba-149923c85a3b%40gmail.com
In-Reply-To: <alpine.DEB.2.20.1606291344400.12947@virtualbox>

```
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:
>
>> 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
>


```

## Andrei Faber, 2016-06-30 05:59

Subject: Re: git gui produces series of commits with exactly the same time
Message-ID: <7ee92d87-810a-5f30-9e16-dc2d1a3e6887@gmail.com>
URL: https://gitlist.dev/e/7ee92d87-810a-5f30-9e16-dc2d1a3e6887%40gmail.com
In-Reply-To: <alpine.DEB.2.20.1606291344400.12947@virtualbox>

```
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:
>
>> 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
>


```
