From: Jon Seymour Date: Tue, 02 Aug 2011 01:41:06 GMT Subject: Re: [PATCH 0/5] bisect: Add support for a --no-checkout option. Message-ID: In-Reply-To: On Tue, Aug 2, 2011 at 11:15 AM, Jon Seymour wrote: > On Tue, Aug 2, 2011 at 9:33 AM, Junio C Hamano wrote: > > 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.