From: Linus Torvalds Date: Sun, 24 Apr 2005 05:09:02 GMT Subject: Re: [GIT PATCH] Selective diff-tree Message-ID: In-Reply-To: <1113400651.20848.135.camel@hades.cambridge.redhat.com> On Wed, 13 Apr 2005, David Woodhouse wrote: > > The patch below makes diff-tree take extra arguments, specifying the > files or directories which should be considered 'interesting'. Changes > in uninteresting directories are not reported; we don't even bother to > recurse down into those trees. David, I took your patch, updated it for some changes in diff-tree, and then totally rewrote (and simplified) your testing for "interesting". There was no reason to consider "/" special, as it falls out of the other cases quite naturally. It passes all the tests I threw at it, but they weren't exhaustive (but I do think I tested the border cases). Mind double-checking that it works for your cases too? Linus