grep -I: do not bother to read known-binary files
commit1b368a4c0d9b2ce844e41640836c61aca9b456f6
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 8 Nov 2010 15:10:43 +0000 (8 16:10 +0100)
committerErik Faye-Lund <kusmabite@gmail.com>
Fri, 4 Jan 2013 13:05:17 +0000 (4 14:05 +0100)
tree6468087fb4edad8de04509ef6463fa06e349a894
parentc088ff12d8ca11d057ea68f6127333a542119fc7
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