Re: Bisect limited to Merge Commits
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Apr 27, 2016, 21:33 UTC
- Message-ID
- <57213041.5070506@kdbg.org>
- In-Reply-To
- <xmqq8tzy93ed.fsf@gitster.mtv.corp.google.com>
Am 27.04.2016 um 22:56 schrieb Junio C Hamano:
> So being able to stop at only commits on the first-parent chain is a > valid and useful tool. "git bisect --first-parent" is one of the > things that are sometimes asked for.
With origin pointing to git.git, I attempted this:
git bisect start
git rev-list --first-parent --boundary origin..origin/pu |
sed -ne s/-//p | xargs git bisect good
git bisect bad origin/puand it starts bisecting among the 50-something first-parent commits between origin and origin/pu.
-- Hannes