Re: [PATCH] Add --diff-filter= documentation paragraph
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 9, 2006, 19:53 UTC
- Message-ID
- <7vr76c9uly.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <E1F7DSt-0001q8-PV@jdl.com>
Jon Loeliger <jdl@jdl.com> writes:
Show 6 quoted lines
> Signed-off-by: Jon Loeliger <jdl@jdl.com> > > ---- > > So, I don't know what the "*" selection flag does. > It is called "AON" in the source. Anyone?
That's All-or-None.
After applying the other filters if there is anything left, then spit out everything (including the ones that did not pass the other filters). Otherwise do not output anything.
In other words,
-M --pretty --diff-filter='R'
shows log for a commit that contains a rename, and diff for only renamed paths. On the other hand,
-M --pretty --diff-filter='R*'
shows the same log and diff for all paths the commit touches, not just the renamed ones.