grep -I: do not bother to read known-binary files
commitcf1e82f0735962432f017d8c02ad93a0128ecf1c
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 8 Nov 2010 15:10:43 +0000 (8 16:10 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 12 May 2012 04:25:48 +0000 (11 23:25 -0500)
tree10709bbffebcd3b00615d0e5e23d3c99604f3197
parent13e7afc0f429a8989ff33b7f99da3f41dffa9daf
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