From c91897b3b074d5185c3897e7afc41aa091f6ec66 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Thu, 3 Feb 2011 15:31:44 +0000 Subject: [PATCH] t7407: fix line endings for mingw build Signed-off-by: Pat Thoyts Signed-off-by: Junio C Hamano --- t/t7407-submodule-foreach.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/t7407-submodule-foreach.sh b/t/t7407-submodule-foreach.sh index d8ad25036..e5be13c27 100755 --- a/t/t7407-submodule-foreach.sh +++ b/t/t7407-submodule-foreach.sh @@ -238,6 +238,10 @@ test_expect_success 'ensure "status --cached --recursive" preserves the --cached ) && git submodule status --cached --recursive -- nested1 > ../actual ) && + if test_have_prereq MINGW + then + dos2unix actual + fi && test_cmp expect actual ' -- 2.30.2