Anthony reported this issue to bug-grep@gnu.org. From what I can see, git-grep's behavior is better, so I changed GNU grep to behave like git-grep. Please see:
https://debbugs.gnu.org/28105
I hope this saves you folks a little bit of work.
threads / discuss / 46618
Subject: Re: Inconsistent exit code for `git grep --files-without-match` with `--quiet`
Anthony reported this issue to bug-grep@gnu.org. From what I can see, git-grep's behavior is better, so I changed GNU grep to behave like git-grep. Please see:
https://debbugs.gnu.org/28105
I hope this saves you folks a little bit of work.