From: Junio C Hamano <gitster@pobox.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: "Jeff King" <peff@peff.net>, "Eirik Bjørsnøs" <eirbjo@gmail.com>,
git@vger.kernel.org
Subject: Re: Invalid dates in git log
Date: Wed, 12 Dec 2007 10:57:51 -0800 [thread overview]
Message-ID: <7v8x3z91w0.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0712121457280.27959@racer.site> (Johannes Schindelin's message of "Wed, 12 Dec 2007 14:59:31 +0000 (GMT)")
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> On Wed, 12 Dec 2007, Junio C Hamano wrote:
>
>> Author: Len Brown <len.brown@intel.com>
>> AuthorDate: Fri Apr 5 00:07:45 2019 -0500
>> Commit: Len Brown <len.brown@intel.com>
>> CommitDate: Tue Jul 12 00:12:09 2005 -0400
>>
>> author Len Brown <len.brown@intel.com> 1554440865 -0500
>> committer Len Brown <len.brown@intel.com> 1121141529 -0400
>>
>> [...] It looks like quite a random timestamp, and committer timestamp
>> look reasonable, relative to the other commits around it.
>
> It is quite possible that Len Brown had a similar problem to what I
> experienced yesterday: my clock was set one hour and 22 years into the
> future, but I have no idea how that happened. My only guess is a
> half-succeeded ntpdate call, but somehow I doubt that.
But how would you explain the more reasonable committer date?
I am guessing that this particular commit was rebased (using rebase,
rebase -i, stgit, guilt or something else), and whatever tool that was
used had some thinko that broke the author timestamp (and zone).
Nah, exonerate guilt and rebase -i from the list. The commit is from
July 2005 which means there wasn't much usable tool for rebasing in the
core distribution. Interactive rebase did not exist back then, and
rebase was done with "git-commit-script -m", which took an existing
commit and used its metainformation when creating a commit. This was
almost totally different codepath from what we have now. Not even
format-patch nor applymbox existed.
StGIT 0.4 (initial) was Jul 10, 2005, so it is _possible_ (I do not know
about plausibility) that it had an early bug that caused this, but if we
really want to figure it out we need to ask Len what was used, and I
suspect the most likely answer is "are you crazy enough to expect me to
remember?".
I am personally more interested in the other one, which was much more
recent incident, though.
next prev parent reply other threads:[~2007-12-12 18:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 9:11 Invalid dates in git log Eirik Bjørsnøs
2007-12-12 9:23 ` Jeff King
2007-12-12 9:35 ` Junio C Hamano
2007-12-12 14:59 ` Johannes Schindelin
2007-12-12 18:57 ` Junio C Hamano [this message]
2007-12-12 14:19 ` Eirik Bjørsnøs
2007-12-12 15:51 ` Andreas Ericsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7v8x3z91w0.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=eirbjo@gmail.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).