grep -I: do not bother to read known-binary files
commitc4bea631f5bc1b86e89cb5848d9223cc5df7ddb5
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 8 Nov 2010 15:10:43 +0000 (8 16:10 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 22 Oct 2012 12:29:31 +0000 (22 13:29 +0100)
treee8087ed29f6d5c7ce7fe2eb15adb6f42f8115e65
parent333a72e4625aa4868896a552f8a1f6262e4d2c9e
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