Side-step sed line-ending "corruption" leading to t6038 failure.
commitda0b3d22be30b354f59026db8920b59b9ddc807b
authorEric Sunshine <sunshine@sunshineco.com>
Fri, 17 Sep 2010 13:16:01 +0000 (17 09:16 -0400)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 17 Sep 2010 13:31:12 +0000 (17 14:31 +0100)
tree862702e5b7dcca926b74d9f852e0f56f675ef9f3
parent542a731491e4f4303d982ad9db8b4ed258ed599b
Side-step sed line-ending "corruption" leading to t6038 failure.

By default, MSYS sed throws away CR from CRLF line-endings.  Tests
t6038.5 and t6038.6 employ sed to normalize conflict output of git-merge
for validation purposes.  These tests expect CRLF line-endings to be
present in the normalized output of git-merge, and thus fail when sed
undesirably removes CR.  Fix by employing sed's -b/--binary switch to
suppress its default behavior of dropping CR characters.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
t/t6038-merge-text-auto.sh