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.
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
2 matches
Mail list logo