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 &&