Re: [GIT PATCH] Selective diff-tree
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 24, 2005, 17:15 UTC
- Message-ID
- <Pine.LNX.4.58.0504241013110.15879@ppc970.osdl.org>
- In-Reply-To
- <1114323914.3419.70.camel@localhost.localdomain>
On Sun, 24 Apr 2005, David Woodhouse wrote:
> > On the other hand, my gitfilelog.sh is fairly fundamentally flawed and > probably needs rewriting in C based on rev-tree.
Yeah, I think I'll make the "tree-diff" functions be available to others, since they are actually _very_ cheap, and it's a bit sad to have to execute a whole new process just to get a tree-diff. Then writing some rev-list thing that just does tree-diff between different versions should be trivial and quite efficient for finding things like "when did this set of files/subdirectory last change".
Which definitely is very useful information.
Linus