From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Christian Couder <chriscool@tuxfamily.org>
Cc: Junio Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: [PATCH 6/7] Bisect: factorise "bisect_{bad,good,dunno}" into "bisect_state".
Date: Tue, 16 Oct 2007 12:20:47 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0710161218260.25221@racer.site> (raw)
In-Reply-To: <200710160828.05137.chriscool@tuxfamily.org>
Hi,
[finally, a technical argument on "dunno". Maybe we really need
git-bikeshed@vger.kernel.org? ;-)]
On Tue, 16 Oct 2007, Christian Couder wrote:
> Le lundi 15 octobre 2007, Johannes Schindelin a ?crit :
> >
> > On Mon, 15 Oct 2007, Christian Couder wrote:
> > >
> > > But the new "bisect_state" takes one more argument, because the first
> > > one must be "good" "bad" or "dunno".
> > >
> > > So when there is only one argument HEAD is used, and when there are
> > > 2 arguments, $2 is used as the good|bad|dunno rev.
> >
> > Ah, that explains it! But do you not need to do
> > "2,bad|2,good|2,dunno" in that case? Or even better: "2,*"?
>
> Perhaps it would be an improvement at least in speed for "2,good" or
> "2,dunno".
I see: the later case catches them. Colour me satisfied with your patch.
> I wanted to keep exactly the same processing as there was before, in case
> something like "git bisect good v1.5.3.3..v1.5.3.4" was supported. But it
> seems it doesn't work. I don't know if it's a bug or a feature.
I think v1.5.3.3..v1.5.3.4 expands to ^v1.5.3.3 v1.5.3.4, which might
explain what you are experiencing.
OTOH "git bisect good v1.5.3.3..v1.5.3.4" does not make sense. bisect
assumes that all ancestors of a good commit are good, too.
Ciao,
Dscho
prev parent reply other threads:[~2007-10-16 11:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-14 12:30 [PATCH 6/7] Bisect: factorise "bisect_{bad,good,dunno}" into "bisect_state" Christian Couder
2007-10-14 16:15 ` Johannes Schindelin
2007-10-15 3:42 ` Christian Couder
2007-10-15 12:38 ` Johannes Schindelin
2007-10-16 6:28 ` Christian Couder
2007-10-16 11:20 ` Johannes Schindelin [this message]
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=Pine.LNX.4.64.0710161218260.25221@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=chriscool@tuxfamily.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).