]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t9300-fast-import.sh
Merge branch 'jl/maint-fix-test'
[git.git] / t / t9300-fast-import.sh
index 96d07f183377f8822257cb3a1dad29023b391462..7c059204e90722db20bae1d10a0988853f852262 100755 (executable)
@@ -1110,11 +1110,10 @@ test_expect_success \
        'P: supermodule & submodule mix' \
        'git fast-import <input &&
         git checkout subuse1 &&
-        rm -rf sub && mkdir sub && cd sub &&
+        rm -rf sub && mkdir sub && (cd sub &&
         git init &&
         git fetch --update-head-ok .. refs/heads/sub:refs/heads/master &&
-        git checkout master &&
-        cd .. &&
+        git checkout master) &&
         git submodule init &&
         git submodule update'