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 <prohaska@zib.de>
This commit is contained in:
Steffen Prohaska
2008-04-13 12:43:44 +02:00
parent b74e70b367
commit ab8a9f21c4

View File

@@ -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 () {