Skip to content

Commit 070bad6

Browse files
artagnongitster
authored andcommitted
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>
1 parent d9f5ef7 commit 070bad6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

t/t3510-cherry-pick-sequence.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test_cmp_rev () {
2828
}
2929

3030
test_expect_success setup '
31-
git config advice.detachedhead false
31+
git config advice.detachedhead false &&
3232
echo unrelated >unrelated &&
3333
git add unrelated &&
3434
test_commit initial foo a &&

0 commit comments

Comments
 (0)