Code

t7407: fix line endings for mingw build
authorPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 3 Feb 2011 15:31:44 +0000 (15:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Feb 2011 22:27:46 +0000 (14:27 -0800)
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7407-submodule-foreach.sh

index d8ad25036f325ecdcc71257614e19b5e6ab2cdc5..e5be13c271c92ce7c51601ee1eaf966d849d8ae4 100755 (executable)
@@ -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
 '