aboutsummaryrefslogtreecommitdiff
path: root/builtin-shortlog.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-12-26 13:53:17 -0800
committerJunio C Hamano <gitster@pobox.com>2009-12-26 13:59:34 -0800
commiteca4460eeb18b895cb6ca590490073f75fd010a6 (patch)
tree355b127ca87f13e96d2e3355cbe66b17a889e989 /builtin-shortlog.c
parent15caa41053c465aeabb1a0d2d3d3c12d701bc62d (diff)
downloadgit-eca4460eeb18b895cb6ca590490073f75fd010a6.tar.gz
git-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 'builtin-shortlog.c')
0 files changed, 0 insertions, 0 deletions