Imported Upstream version 2.4.0
[platform/upstream/git.git] / t / t5709-clone-refspec.sh
index 6f1ea98..7ace253 100755 (executable)
@@ -147,7 +147,7 @@ test_expect_success '--single-branch with detached' '
                git for-each-ref refs/remotes/origin |
                sed -e "/HEAD$/d" \
                    -e "s|/remotes/origin/|/heads/|" >../actual
-       )
+       ) &&
        # nothing
        >expect &&
        test_cmp expect actual