Re: How do I...
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 6, 2005, 23:54 UTC
- Message-ID
- <Pine.LNX.4.58.0505061652240.2233@ppc970.osdl.org>
- In-Reply-To
- <1115421642.29495.53.camel@localhost.localdomain>
On Sat, 7 May 2005, David Woodhouse wrote:
Show 5 quoted lines
> > Nah, you just prune the commits from which aren't interesting, then dump > the graph you're left with. So instead of printing just the immediate > parent(s) for each interesting commit, you print the "nearest > interesting ancestor(s)".
Nope. That's just stupid.
Use the whole commit history, and if you want to simplify it from there once you notice that some branches end up never being interesting, then that's ok.
But trying to be clever while building this up is just crazy talk. When diff-tree prints out the changes, it has no way of knowing what the context around it was - it doesn't know about merges far away, and it _shouldn't_ know.
Linus