From: Jakub Narebski <jnareb@gmail.com>
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: Wed, 01 Jul 2009 13:02:23 -0700 (PDT) [thread overview]
Message-ID: <m38wj8w4s1.fsf@localhost.localdomain> (raw)
In-Reply-To: <loom.20090701T170535-707@post.gmane.org>
Robert Stonehouse <rstonehouse@solarflare.com> writes:
> I had a problem where I thought git bisect would be a good way forwards.
> It didn't work as expected so I made myself a simpler test-case.
>
> featureA (which was a new build target) was broken at HEAD. It had been
> developed on the featureA branch. After featureA was merged into master,
> featureB (which had branched from master at the same point as featureA) was
> merged with master.
>
> $ git log --graph --abbrev-commit --pretty=oneline
> * b394c57... master4
> * 7e8d675... Merge branch 'featureB'
> |\
> | * 8d87aee... featureB2
> | * c1a8450... featureB1
> * | 44c5601... master3
> * | 269602a... Merge branch 'featureA'
> |\ \
> | * | 91b1bbb... featureA2
> | * | 0c15834... featureA1
> | |/
> * | 1ea4a0c... master2
> |/
> * 204f839... master1
>
> Tag featureA1 was my good commit, and HEAD was the bad.
> I was surprised that git bisect was asking me to test commits on the featureB
> branch. I couldn't test the build target that was broken on branch featureB
> because it wasn't present in the code at that point.
That is what "git bisect skip [<rev>|<range>...]" is for."
> Is there a way to do what I want (bisect all children of a commit)?
Also in 'pu' there is refs/replace mechanism, which was intendend
mainly to "repair" un-bisectable history...
--
Jakub Narebski
Poland
ShadeHawk on #git
prev parent reply other threads:[~2009-07-01 20:02 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
2009-07-01 20:02 ` Jakub Narebski [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=m38wj8w4s1.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--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).