grep -I: do not bother to read known-binary files
commitace0f88b4adfb744d640595a91d2eae7bca29a0d
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 8 Nov 2010 15:10:43 +0000 (8 16:10 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 19 Dec 2010 22:18:52 +0000 (19 23:18 +0100)
treeda1ce1b65c086ad7d2ec27078e0892d7e027413a
parent830d57af1f14ca335b1cb054f2c9bc280ddfa81a
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