From 8d28be57afb7077f61f41e98ee39cf50b6bda249 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Fri, 21 Aug 2009 10:34:05 +0200 Subject: [PATCH] Lines of git submodule output on Windows have CRLF Signed-off-by: Johannes Sixt --- t/t7407-submodule-foreach.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/t7407-submodule-foreach.sh b/t/t7407-submodule-foreach.sh index 2a527750ce..1f6480a1ae 100755 --- a/t/t7407-submodule-foreach.sh +++ b/t/t7407-submodule-foreach.sh @@ -11,6 +11,10 @@ that are currently checked out. . ./test-lib.sh +case $(uname -s) in +*MINGW*) GIT_TEST_CMP="diff -uw";; +esac + test_expect_success 'setup a submodule tree' ' echo file > file && -- 2.11.4.GIT