Skip to contentSkip to conversation

t3510 (cherry-pick-sequence): add missing '&&'

PATCH New Ramkumar Ramachandra 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Minor nit. There aren't any other && chaining breakages in the file.

 t/t3510-cherry-pick-sequence.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
t/t3510-cherry-pick-sequence.sh +1 -1
index 97f3710..f4e6450 100755
@@ -31,7 +31,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 &&
Signature · 1 line
1.7.10