grep -I: do not bother to read known-binary files
commitc1941a72e7dea0b170d2aa05c6f0cfeef6d13e40
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 8 Nov 2010 15:10:43 +0000 (8 16:10 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 14 Feb 2012 20:01:28 +0000 (14 14:01 -0600)
treebfc5b0d8345caaf9f910b323d1e7992ac6e646ab
parent49741a3f2bbbc6cff44a12f8e6517d7b3883a6f9
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