All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Sixt <j6t@kdbg.org>
To: Hagen Paul Pfeifer <hagen@jauu.net>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: Bisect limited to Merge Commits
Date: Wed, 27 Apr 2016 23:33:53 +0200	[thread overview]
Message-ID: <57213041.5070506@kdbg.org> (raw)
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/pu

and it starts bisecting among the 50-something first-parent commits 
between origin and origin/pu.

-- Hannes

  reply	other threads:[~2016-04-27 21:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27 20:45 Bisect limited to Merge Commits Hagen Paul Pfeifer
2016-04-27 20:56 ` Junio C Hamano
2016-04-27 21:33   ` Johannes Sixt [this message]
2016-04-27 22:25     ` Junio C Hamano
2016-04-28  6:19     ` Hagen Paul Pfeifer
2016-04-28  6:44       ` Jacob Keller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57213041.5070506@kdbg.org \
    --to=j6t@kdbg.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=hagen@jauu.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.