grep -I: do not bother to read known-binary files
commit1743aae8c8ce13fd8e81d679b11d35ff53efcf69
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 8 Nov 2010 15:10:43 +0000 (8 16:10 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 6 Apr 2012 21:46:57 +0000 (6 16:46 -0500)
treee69b7c3679cd90241d44a5b2ace89aa3c8d75f53
parent0a8611c4164766ef80592e810b05afcbc507aebe
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