Re: [RFC PATCH v5] Implement --first-parent for git rev-list --bisect
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 27, 2018, 16:26 UTC
- Message-ID
- <xmqqwoukgpr9.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.1806271254210.21419@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 9 quoted lines
> 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 ;-)