Re: [PATCH] Add -O<orderfile> option to diff-* brothers.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 29, 2005, 18:56 UTC
- Message-ID
- <Pine.LNX.4.58.0505291154030.10545@ppc970.osdl.org>
- In-Reply-To
- <7vzmufwu8w.fsf@assigned-by-dhcp.cox.net>
On Sat, 28 May 2005, Junio C Hamano wrote:
Show 6 quoted lines
> > A new diffcore filter diffcore-order is introduced. This takes > a text file each of whose line is a shell glob pattern. Patches > matching the glob pattern on an earlier line in the file are > output before patches matching the glob pattern on a later line, > and patches not matching any glob pattern is output last.
This smells to me like a "cool feature, because we can" rather than a "this is useful because of xxx".
You could equally well do it with
git-diff-cache .. | sort-filenames | git-diff-helper
in porcelain, if somebody really wants this (but I can't see people clamoring for it, since nobody else has ever done soemthing like this, afaik).
In other words: what is the problem this is trying to solve?
Linus