Re: [PATCH] --walk-reflogs: actually find the right commit by date.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 21, 2007, 07:09 UTC
- Message-ID
- <7vhcuk500j.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0701202225020.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 19 quoted lines
> Hi,
>
> On Sat, 20 Jan 2007, Junio C Hamano wrote:
>
>> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>>
>> > Embarassing thinko.
>>
>> Aha, progress ;-). But it still seems to pick up entry that is
>> less than specified number of hours if I do:
>>
>> $ git log --walk-reflogs -4 master@{1.hour} | head -2
>> commit 33dd19c2a9c0b114436f53d86fc1c2c5e00c26bb
>> Reflog: master@{Sat, 20 Jan 2007 00:01:35 -0800} (Junio C Ham
>>
>> It is Jan 20th 02:10 now and the master was not pointing at that
>> commit 1 hour ago.
>
> I tried to reproduce this effect, but so far no luck.Sorry, I was reading the timestamp wrong. That is one minute thirty-five seconds past midnight, not thirty five minute past one o'clock.