summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2011-02-03 15:31:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-02-07 22:27:46 (GMT)
commitc91897b3b074d5185c3897e7afc41aa091f6ec66 (patch)
tree4725432473252fc93fa232d48fd797529777f591 /t
parent97a853d34baef41f6d235ba49bf390d063fbd9df (diff)
downloadgit-c91897b3b074d5185c3897e7afc41aa091f6ec66.zip
git-c91897b3b074d5185c3897e7afc41aa091f6ec66.tar.gz
git-c91897b3b074d5185c3897e7afc41aa091f6ec66.tar.bz2
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 d8ad250..e5be13c 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
'