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

Re: Unexpected behavior on diff -I<regex> --name-only

From
Johannes Altmanninger <aclopte@gmail.com>
Date
Dec 16, 2020, 23:18 UTC
Message-ID
<20201216231840.3163806-1-aclopte@gmail.com>
In-Reply-To
<xmqqeejsdv7x.fsf@gitster.c.googlers.com>
On Mon, Dec 14, 2020 at 11:49:06AM -0800, Junio C Hamano wrote:
> This is not a new issue limited to -I at all.  If you did this:
Right, I didn't think of -w at all!
> I do not offhand remember if -I flips diff_from_contents
> bit, but I wouldn't be surprised if the recent change added the
> support for -I forgot to do so.
Spot on ;)
Previous: Junio C HamanoNext: Johannes Altmanninger
Message 3 of 7 in “Unexpected behavior on diff -I<regex> --name-only”
  1. Johannes AltmanningerDec 14, 2020
  2. Junio C HamanoDec 14, 2020
  3. Johannes AltmanningerDec 16, 2020
  4. diff: suppress --name-only paths where all hunks are ignoredJohannes Altmanninger, Dec 16, 2020
  5. Re* [PATCH] diff: suppress --name-only paths where all hunks are ignoredJunio C Hamano, Dec 17, 2020
  6. Re* [PATCH] diff: suppress --name-only paths where all hunks are ignoredJohannes Altmanninger, Dec 20, 2020
  7. Junio C HamanoDec 21, 2020

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.