Thread (2 messages) flat view 2 messages, 2 authors, 2018-06-28

Re: [RFC PATCH v5] Implement --first-parent for git rev-list --bisect

From: Junio C Hamano <hidden>
Date: 2018-06-27 16:26:09

Johannes Schindelin [off-list ref] writes:
	git rev-list --bisect-all --first-parent F..E >revs &&
	# only E, e1..e8 should be listed, nothing else
	test_line_count = 9 revs &&
	for rev in E e1 e2 e3 e4 e5 e6 e7 e8
	do
		grep "^$(git rev-parse $rev) " revs || return
	done

I am faster by... a lot. Like, seconds instead of minutes.
I'm fine either way.  I just thought you would not want 9 separate
invocations of grep ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help