Stefan Hoffmeister [off-list ref] 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/xmqq4kkl1atq.fsf@gitster.c.googlers.com/ (local)
(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.