t3510 (cherry-pick-sequence): add missing '&&'
authorRamkumar Ramachandra <artagnon@gmail.com>
Mon, 4 Jun 2012 16:42:44 +0000 (22:12 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Jun 2012 22:35:22 +0000 (15:35 -0700)
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>
t/t3510-cherry-pick-sequence.sh
index e80050e1fef9c7c2d83a34aaa671415ea168e8c4..28412e2c65e58f06d0c4db30d62813b02218669f 100755 (executable)
@@ -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 &&