From 60248c8c59512036e93d9dce89a0b7408afc01f9 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 21 Apr 2008 12:07:59 +0200 Subject: [PATCH] Use diff -w on Windows to ignore CRLF. Signed-off-by: Johannes Sixt --- t/t7502-status.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/t7502-status.sh b/t/t7502-status.sh index e4bfcaece0..ededff28ad 100755 --- a/t/t7502-status.sh +++ b/t/t7502-status.sh @@ -5,6 +5,10 @@ test_description='git-status' +case $(uname -s) in +*MINGW*) GIT_TEST_CMP="diff -uw";; +esac + . ./test-lib.sh test_expect_success 'setup' ' -- 2.11.4.GIT