mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user