summaryrefslogtreecommitdiff
path: root/t/t5709-clone-refspec.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5709-clone-refspec.sh')
-rwxr-xr-xt/t5709-clone-refspec.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5709-clone-refspec.sh b/t/t5709-clone-refspec.sh
index 6f1ea984d4..7ace2535c8 100755
--- a/t/t5709-clone-refspec.sh
+++ b/t/t5709-clone-refspec.sh
@@ -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