Re: Inconsistent exit code for `git grep --files-without-match` with `--quiet`

2017-08-17 Thread Paul Eggert
Anthony reported this issue to bug-g...@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.

Inconsistent exit code for `git grep --files-without-match` with `--quiet`

2017-08-15 Thread Anthony Sottile
Using the latest revision of git: $ ./git --version git version 2.14.GIT $ ./git-grep --files-without-match nope -- blob.c; echo $? blob.c 0 $ ./git-grep --files-without-match --quiet nope -- blob.c; echo $? 1 I expect both to exit 0 Note that blob.c does not contain "nope", here is the revisi