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>
This commit is contained in:

committed by
Junio C Hamano

parent
d9f5ef7a4a
commit
070bad6d0c
@ -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 &&
|
||||
|
Reference in New Issue
Block a user