sane_grep: pass "-a" if grep accepts it
authorJunio C Hamano <gitster@pobox.com>
Tue, 8 Mar 2016 23:47:57 +0000 (15:47 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Mar 2016 23:35:43 +0000 (15:35 -0800)
commit71b401032b9e5b0a71e41d95ae0998858787700c
treef69cf92990eb06865b3bac4d9690a4d80c1e16f0
parent833e48259e23aea76f3765d28d1b2200332301f7
sane_grep: pass "-a" if grep accepts it

Newer versions of GNU grep is reported to be pickier when we feed a
non-ASCII input and break some Porcelain scripts.  As we know we do
not feed random binary file to our own sane_grep wrapper, allow us
to always pass "-a" by setting SANE_TEXT_GREP=-a Makefile variable
to work it around.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
config.mak.uname
configure.ac
git-sh-setup.sh