Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: [PATCH 2/2] tests: teach verify_parents to check for extra parents

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:51:11

Possibly related (same subject, not in this thread)

Junio C Hamano wrote:
Jonathan Nieder [off-list ref] writes:
quoted
--- a/t/t7600-merge.sh
+++ b/t/t7600-merge.sh
@@ -89,6 +89,7 @@ verify_parents () {
 		i=$(expr $i + 1) ||
 		return 1
 	done &&
+	test_must_fail git rev-parse --verify HEAD^$(($# + 1)) &&
Isn't $i at this point the same as that complex $(()) line noise?
Yes, that sounds better.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help