summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Pat Thoyts <patthoyts@users.sourceforge.net>2011-02-03 15:31:44 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-02-07 14:27:46 -0800
commitc91897b3b074d5185c3897e7afc41aa091f6ec66 (patch)
tree4725432473252fc93fa232d48fd797529777f591 /t
parentt4120-apply-popt: help systems with core.filemode=false (diff)
downloadtgif-c91897b3b074d5185c3897e7afc41aa091f6ec66.tar.xz
t7407: fix line endings for mingw build
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t7407-submodule-foreach.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7407-submodule-foreach.sh b/t/t7407-submodule-foreach.sh
index d8ad25036f..e5be13c271 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
'