git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Couder <chriscool@tuxfamily.org>
To: Robert Stonehouse <rstonehouse@solarflare.com>
Cc: git@vger.kernel.org
Subject: Re: git bisect; is there a way to pick only from the children of a given commit
Date: Fri, 3 Jul 2009 06:42:35 +0200	[thread overview]
Message-ID: <200907030642.36314.chriscool@tuxfamily.org> (raw)
In-Reply-To: <4A4CA06B.8090403@solarflare.com>

On Thursday 02 July 2009, Robert Stonehouse wrote:
>
> In my toy example it is easy to identify featureB branch as being
> independent and marking it as good - but in a real repository it would
> be much harder as they might be many more merges.

As Jakub said, when the current commit is untestable, "git bisect skip" is 
the most logical command to use.

Now if you have more information than just "the current commit is 
untestable", for example if you know that the current commit is on a side 
branch that has work unrelated to the breakage you are looking for, and if 
you know that the branch started from a "good" commit, then you can 
use "git bisect good" instead, because you know the commit is good even if 
you have not tested it.

> I think if I changed my usage of git bisect good and bad to:
>    good => build completes
>            OR a revision that does not have the new build target
>    bad  => new build target fails
> then I think it will converge to the problem commit. So perhaps this was
> just an issue of semantics

I'd say that it's an issue of information. If you already have the 
information that some commits are good before testing them, then you should 
use "git bisect good" even if you can't test them.

Best regards,
Christian.

  reply	other threads:[~2009-07-03  4:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01 17:12 git bisect; is there a way to pick only from the children of a given commit Robert Stonehouse
2009-07-01 18:59 ` Johannes Schindelin
2009-07-01 19:22 ` Sean Estabrooks
2009-07-02 11:56   ` Robert Stonehouse
2009-07-03  4:42     ` Christian Couder [this message]
2009-07-01 20:02 ` Jakub Narebski

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=200907030642.36314.chriscool@tuxfamily.org \
    --to=chriscool@tuxfamily.org \
    --cc=git@vger.kernel.org \
    --cc=rstonehouse@solarflare.com \
    /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).