diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-12-26 13:53:17 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-26 13:59:34 -0800 |
commit | eca4460eeb18b895cb6ca590490073f75fd010a6 (patch) | |
tree | 355b127ca87f13e96d2e3355cbe66b17a889e989 /Documentation/RelNotes-1.5.6.3.txt | |
parent | t1200: work around a bug in some implementations of "find" (diff) | |
download | tgif-eca4460eeb18b895cb6ca590490073f75fd010a6.tar.xz |
t4019 "grep" portability fix
Input to "grep" is supposed to be "text", but we deliberately feed output
from "git diff --color" to sift it into two sets of lines (ones with
errors, the other without). Some implementations of "grep" only report
matches with the exit status, without showing the matched lines in their
output (e.g. OpenBSD 4.6, which says "Binary file .. matches").
Fortunately, "grep -a" is often a way to force the command to treat its
input as text.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes-1.5.6.3.txt')
0 files changed, 0 insertions, 0 deletions