From: Junio C Hamano <gitster@pobox•com>
To: Jonathan Nieder <jrnieder@gmail•com>
Cc: Christoph Mallon <mallon@cs•uni-saarland.de>,
git@vger•kernel.org, Stefan Beller <sbeller@google•com>
Subject: Re: Bug in reflog of length 0x2BFF
Date: Thu, 04 Dec 2014 12:18:05 -0800 [thread overview]
Message-ID: <xmqqvblrrwxu.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <20141201233515.GV6527@google.com> (Jonathan Nieder's message of "Mon, 1 Dec 2014 15:35:15 -0800")
Jonathan Nieder <jrnieder@gmail•com> writes:
> Christoph Mallon wrote:
>
>> % git rev-parse 'master@{52}'
>> warning: Log for ref refs/heads/master has gap after Thu, 1 Jan 1970 00:00:01 +0000.
>> 0000000000000000000000000000000000000036
>
> Can you say more? What output did you expect and how does this differ
> from it?
>
> I tried, with git 2.2.0,
>
> git init gitbug &&
> cd gitbug &&
> git commit --allow-empty -m a &&
> wget http://tron.yamagi.org/zeug/reflog.bad &&
> mv reflog.bad .git/logs/refs/heads/master &&
> sha1sum .git/logs/refs/heads/master &&
> git rev-parse 'master@{52}'
>
> The output:
>
> 9ffe44715d0e542a60916255f144c74e6760ffd0 .git/logs/refs/heads/master
> 0000000000000000000000000000000000000035
>
> Could you make a test script that illustrates and reproduces the
> problem? I.e., a patch to a file like t/t1410-reflog.sh, such that
> if I run
>
> cd git
> make
> cd t
> ./t1410-reflog.sh
>
> then I can reproduce the bug?
Amen to that. I am getting the same thing.
next prev parent reply other threads:[~2014-12-04 20:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-01 15:15 Bug in reflog of length 0x2BFF Christoph Mallon
2014-12-01 16:00 ` Christoph Mallon
2014-12-01 18:53 ` Stefan Beller
2014-12-01 22:30 ` Christoph Mallon
2014-12-01 23:35 ` Jonathan Nieder
2014-12-02 1:39 ` Stefan Beller
2014-12-02 6:13 ` Christoph Mallon
2014-12-04 20:18 ` Junio C Hamano [this message]
2014-12-04 20:37 ` Christoph Mallon
2014-12-04 21:58 ` Jeff King
2014-12-04 22:14 ` Junio C Hamano
2014-12-05 1:28 ` [PATCH] for_each_reflog_ent_reverse: fix newlines on block boundaries Jeff King
2014-12-05 1:32 ` [PATCH] for_each_reflog_ent_reverse: turn leftover check into assertion Jeff King
2014-12-05 19:15 ` Junio C Hamano
2014-12-04 22:10 ` Bug in reflog of length 0x2BFF Junio C Hamano
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=xmqqvblrrwxu.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=jrnieder@gmail$(echo .)com \
--cc=mallon@cs$(echo .)uni-saarland.de \
--cc=sbeller@google$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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