summaryrefslogtreecommitdiff
path: root/Documentation/git-update-index.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-12-26 13:53:17 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-12-26 13:59:34 -0800
commiteca4460eeb18b895cb6ca590490073f75fd010a6 (patch)
tree355b127ca87f13e96d2e3355cbe66b17a889e989 /Documentation/git-update-index.txt
parentt1200: work around a bug in some implementations of "find" (diff)
downloadtgif-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/git-update-index.txt')
0 files changed, 0 insertions, 0 deletions