Re: [REPLACEMENT PATCH 2/2] Add "--early-output" log flag for interactive GUI use
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Nov 4, 2007, 18:11 UTC
- Message-ID
- <alpine.LFD.0.999.0711041004220.15101@woody.linux-foundation.org>
- In-Reply-To
- <alpine.LFD.0.999.0711032234030.15101@woody.linux-foundation.org>
On Sat, 3 Nov 2007, Linus Torvalds wrote:
Show 5 quoted lines
> > > > How hard would it be to put the total number of commits on that "Final > > output" line? That would be useful for me. > > Not hard. I think we basically have it anyway.
Actually, I take that back.
It's hard. Not because we don't have the commits, but because while we do the top-level shape pruning in the eearly stages, we do *not* do the final path-limiting until we actually output the commits.
Which actually makes "--early-output" right now do some rather odd things when you use a path limiter: we don't do the "rewrite_parents()" thing until later, so the early output will have done the first level of history simplification, but it won't have made history *dense* yet.
I'm looking at it now, I'll have to think about this a bit more. It might be trivial to fix, but this thing has real potential for being subtle.
Linus