summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Ramkumar Ramachandra <artagnon@gmail.com>2012-06-04 22:12:44 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-06-04 15:35:22 -0700
commit070bad6d0ca61b23611661eb4f05ddd548d42afd (patch)
treea521e6909875478749cc8e93323c58efcb10c007
parentGit 1.7.8.6 (diff)
downloadtgif-070bad6d0ca61b23611661eb4f05ddd548d42afd.tar.xz
t3510 (cherry-pick-sequence): add missing '&&'
Breaks in a test assertion's && chain can potentially hide failures from earlier commands in the chain. Fix an instance of this in the setup. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t3510-cherry-pick-sequence.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3510-cherry-pick-sequence.sh b/t/t3510-cherry-pick-sequence.sh
index e80050e1fe..28412e2c65 100755
--- a/t/t3510-cherry-pick-sequence.sh
+++ b/t/t3510-cherry-pick-sequence.sh
@@ -28,7 +28,7 @@ test_cmp_rev () {
}
test_expect_success setup '
- git config advice.detachedhead false
+ git config advice.detachedhead false &&
echo unrelated >unrelated &&
git add unrelated &&
test_commit initial foo a &&