git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Jon Loeliger
Message 2 of 2 in “Add --diff-filter= documentation paragraph”
  1. Add --diff-filter= documentation paragraphJon Loeliger, Feb 9, 2006
  2. Junio C HamanoFeb 9, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.