Re: [PATCH 0/5] bisect: Add support for a --no-checkout option.
- From
Jon Seymour <jon.seymour@gmail.com>
- Date
- Aug 2, 2011, 01:41 UTC
- Message-ID
- <CAH3Anro-ve2ZoTnbEvWyNH7kEMBCQOoCDfqZbPPxymn12pzAbQ@mail.gmail.com>
- In-Reply-To
- <CAH3AnrrrvX64s3p_=5mrVcwx5FeO0iT8uX47remyCuCwPpOo=A@mail.gmail.com>
On Tue, Aug 2, 2011 at 11:15 AM, Jon Seymour <jon.seymour@gmail.com> wrote:
> On Tue, Aug 2, 2011 at 9:33 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> > How about in the current series, I change the option parsed by > bisect--helper.c to be: > > --bisect-mode=checkout|update-ref > > The porcelain option can still be --no-checkout (or should it be > --bisect-mode too?). The porcelain will maintain a state variable > called (rather than BISECT_NO_CHECKOUT). > > BISECT_MODE > > Then, the next series can add a --bisect-head option (instead of > --update-ref) to allow the head to be varied (defaulting to > BISECT_HEAD) if not specified.
To clarify: --bisect-head would default to HEAD if mode is checkout, to BISECT_HEAD if the mode is update-ref.
jon.