Re: Add "--show-all" revision walker flag for debugging
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 10, 2008, 01:29 UTC
- Message-ID
- <alpine.LSU.1.00.0802100127160.11591@racer.site>
- In-Reply-To
- <alpine.LFD.1.00.0802091720010.2896@woody.linux-foundation.org>
Hi,
On Sat, 9 Feb 2008, Linus Torvalds wrote:
Show 10 quoted lines
> On Sun, 10 Feb 2008, Johannes Schindelin wrote: > > > > I was thinking the other night why I did not like the generation > > header. And I found out why: it is redundant information. > > Actually, that's not the real issue. > > The real issue is that it doesn't work. I thought about it, and with > multiple roots (which _can_ get merged together) it just isn't something > that actually helps.
I don't see it. If G(c) >= 1 + max(G(c^) | c^ is a parent of c), then it _should_ work. And then, I think it is _much_ better to just cache it locally (if you care enough about it, i.e. if you set a certain config option that triggers possibly expensive one-shot caching) than have it in the commit object (where the information could be just plain wrong).
Ciao, Dscho