Subject: Re: BUG: git diff --name-only ignores --ignore-*

From: Junio C Hamano <[email-masked]>
Date: Thu, 26 Aug 2021 11:42:28 -0700

Stefan Hoffmeister <[email-masked]> writes:

> When using the --name-only option on git diff (git 2.33.0),
> command-line parameters such as  --ignore-blank-lines are not
> respected.

I think I've seen something related this one at around

  https://lore.kernel.org/git/[email-masked]/

(look for mention of --name-only in the message).

It would make things more expensive to make --name-only inspect
changes when these options are in effect (iow, the --name-only
currently is about "are these the same blob object?  if not, show
the path" and nothing else) but it would probably be OK, as the user
expresses their willingness to spend extra cycles by explicitly
giving --ignore-* options.