Re: Very limited pathspec wildcards..
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Aug 3, 2005, 19:38 UTC
- Message-ID
- <Pine.LNX.4.58.0508031234280.3258@g5.osdl.org>
- In-Reply-To
- <7voe8ec08j.fsf@assigned-by-dhcp.cox.net>
On Wed, 3 Aug 2005, Junio C Hamano wrote:
> > Wouldn't something like this work equally well?
Nope, for several reasons: - it's _horribly_ inefficient (ie it traverses directories that it doesn't need to) - it shows all the changeset comments, regardless of whether they are releant or not. It just removes the diffs.
Try it out.
Junio, name-based filters _have_ to be done early. This is why "diffcore-pathspec" isn't used any more - it's _much_ too inefficient to do it later.
Linus