Re: Occasional wrong behavior of rev-walking (rev-list, log, etc.)
- From
Mike Hommey <mh@glandium.org>
- Date
- May 21, 2015, 22:49 UTC
- Message-ID
- <20150521224956.GA23810@glandium.org>
- In-Reply-To
- <xmqq617llw6k.fsf@gitster.dls.corp.google.com>
On Thu, May 21, 2015 at 09:41:55AM -0700, Junio C Hamano wrote:
Show 7 quoted lines
> Mike Hommey <mh@glandium.org> writes: > > > My guess is that rev-walking is tripping on the fact that this repository > > has commit dates in random order. > > Yeah, that is well known (look for SLOP both in the code and list > archive).
I found the recent thread about git describe --contains. (and now I realize this is also why git describe --contains doesn't work quite well for the same repository).
Now the question is what can we done in the short term? (short of introducing something like generation numbers) I tried increasing SLOP and to remove the date check (with the hope that making one or both configurable might help). Neither fixed the particular test case I started this thread with.
Mike