From ab8a9f21c410ebbeab3d94625a13ba738efdbac5 Mon Sep 17 00:00:00 2001 From: Steffen Prohaska Date: Sun, 13 Apr 2008 12:43:44 +0200 Subject: [PATCH] t7401: Tell diff to ignore whitespace on MinGW "git submodule" prints CRLF lineendings, which break the comparison with expected outputs. This commit sets the diff command to ignore whitespace changes. Signed-off-by: Steffen Prohaska --- t/t7401-submodule-summary.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/t7401-submodule-summary.sh b/t/t7401-submodule-summary.sh index 86ed2a2a2d..f34d8f0bb2 100755 --- a/t/t7401-submodule-summary.sh +++ b/t/t7401-submodule-summary.sh @@ -8,6 +8,10 @@ test_description='Summary support for submodules This test tries to verify the sanity of summary subcommand of git-submodule. ' +case $(uname -s) in +*MINGW*) GIT_TEST_CMP="diff -uw";; +esac + . ./test-lib.sh add_file () {