Imported Upstream version 2.4.0
[platform/upstream/git.git] / t / t5531-deep-submodule-push.sh
index 445bb5f..6507487 100755 (executable)
@@ -104,7 +104,7 @@ test_expect_success 'push fails when commit on multiple branches if one branch h
 '
 
 test_expect_success 'push succeeds if submodule has no remote and is on the first superproject commit' '
-       git init --bare a
+       git init --bare a &&
        git clone a a1 &&
        (
                cd a1 &&