Commit b307d47
committed
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 <[email protected]>1 parent dedf3a5 commit b307d47
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
181 | 198 | | |
182 | 199 | | |
183 | 200 | | |
| |||
188 | 205 | | |
189 | 206 | | |
190 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
191 | 211 | | |
192 | 212 | | |
193 | 213 | | |
| |||
505 | 525 | | |
506 | 526 | | |
507 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
508 | 531 | | |
509 | 532 | | |
510 | 533 | | |
| |||
956 | 979 | | |
957 | 980 | | |
958 | 981 | | |
| 982 | + | |
| 983 | + | |
959 | 984 | | |
960 | 985 | | |
961 | 986 | | |
| |||
0 commit comments