help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time zone trouble without time zones being involved


From: Michael Heerdegen
Subject: Re: Time zone trouble without time zones being involved
Date: Mon, 16 May 2016 17:47:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)

Yuri Khan <yuri.v.khan@gmail.com> writes:

> >> 2. Make a commit.  3. Execute the same command, “git log
> >> --pretty=format:%ad --date=format:%s -n1”.
> >
> > 1463254759
>
> 1463254759 - 1463251129 = 3630 seconds, or 1 hour 30 seconds.
>
> Does “git cat-file commit HEAD” show the same number in the “author”
> line?

No:

| bash-4.3:micha:test-repo$ git log --pretty=format:%ad --date=format:%s -n1
| 1463254759
| bash-4.3:micha:test-repo$ git cat-file commit HEAD
| tree 45b5897f752b636a5dc6d101cb2a14dba4751cd0
| parent c56aab0f0de7335ffd579702b987e67ce0680af8
| author Michael Heerdegen <michael_heerdegen@web.de> 1463251159 +0200
| committer Michael Heerdegen <michael_heerdegen@web.de> 1463251159 +0200


> Here’s a repeatable recipe. You can report it as a Git bug.
> [...]

Thanks, I'll do this.


Regards,

Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]