grep -I: do not bother to read known-binary files
commit2867cc6de6a8b9d968598f76bf926cf6aec28190
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 8 Nov 2010 15:10:43 +0000 (8 16:10 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 24 Oct 2011 15:07:26 +0000 (24 10:07 -0500)
treefa667da757cecbd6874ac63b611c9e1c06376921
parent5bb2f1d516ae1a112b06c4ce669e17a01e94b7f5
grep -I: do not bother to read known-binary files

Incidentally, this makes grep -I respect the "binary" attribute (actually,
the "-text" attribute, but "binary" implies that).

Since the attributes are not thread-safe, we now need to switch off
threading if -I was passed.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
builtin/grep.c