From: Petr Baudis <pasky@suse.cz>
To: Andrew Morton <akpm@osdl.org>
Cc: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: git-bisect problem
Date: Tue, 14 Feb 2006 02:27:55 +0100 [thread overview]
Message-ID: <20060214012755.GC31278@pasky.or.cz> (raw)
In-Reply-To: <20060214011512.GB31278@pasky.or.cz>
Dear diary, on Tue, Feb 14, 2006 at 02:15:12AM CET, I got a letter
where Petr Baudis <pasky@suse.cz> said that...
> Dear diary, on Tue, Feb 14, 2006 at 01:56:20AM CET, I got a letter
> where Andrew Morton <akpm@osdl.org> said that...
> > Junio C Hamano <junkio@cox.net> wrote:
> > >
> > > Sorry, this question is what I do not quite understand.
> > >
> > > Here is my understanding of the situation.
> > >
> > > - Betweeen 2.6.16-rc1 and 2.6.16-rc2 a bug you are chasing was
> > > introduced. You know rc1 works fine but rc2 is bad.
> > >
> > > - You suspect that changes introduced by merging Jeff's tree
> > > at some point between -rc1 and -rc2 may be causing this.
> > >
> > > Am I totally misunderstanding the situation?
> >
> > yup ;)
> >
> > The bug is in Jeff's tree only
> > (git+ssh://master.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git#ALL)
> > so I wanted to perform the bisection on the git-netdev-all branch.
> >
> > So I did a `git log git-netdev-all' and looked at where the ipw2200 changes
> > were and then decided that the 2.6.16-rc1 and 2.6.16-rc2 commits straddled
> > those changes nicely, so I chose those as the bisection starting points.
>
> But aren't those commits on the Linus' "branch", not containing any
> commits specific to git-netdev-all?
>
> I imagine the situation is like:
>
> * -- 2.6.16-rc1 -- * -- * -- 2.6.16-rc2 -- * - - (linus)
> \ \ \
> * -- * -- * -- * -- * -- * -- * -- * -- * -- M - - (git-netdev-all)
>
> Then, if you bisect between -rc2 and -rc1, you will never actually get
> to the git-netdev-all branch, since there are no such commits inbetween
> -rc2 and -rc1. Even if you consider this:
>
> * -- 2.6.16-rc1 -- * -- * -- 2.6.16-rc2 -- * - - (linus)
> \ / \ \
> * -- X -- Y -- Z -- A -- * -- * -- * -- * -- M - - (git-netdev-all)
>
> git-bisect will consider the X, Y, Z commits (since they are part of the
> ancestry between -rc and -rc2), but not commits from A on - it can't
> reach them topologically if it considers only commits between -rc1 and
> -rc2:
>
> * -- 2.6.16-rc1 -- * -- * -- 2.6.16-rc2
> \ /
> - X -- Y -- Z
I got this one (and consequently, the following one) wrong - obviously,
it should read as
2.6.16-rc1 -- * -- * -- 2.6.16-rc2
/
X -- Y -- Z
since the "asterisk" commit is already behind -rc1.
Pedagogical excursion:
All those commit intervals are really set differences - if you have
commit A and commit B,
[A,B] = B \cup (ancestry(B) \ ancestry(A))
or if you don't like math, color B and all its ancestors blue in
your head, and then color all the A ancestors black. The commits
that stay blue are in the [A,B] interval.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Of the 3 great composers Mozart tells us what it's like to be human,
Beethoven tells us what it's like to be Beethoven and Bach tells us
what it's like to be the universe. -- Douglas Adams
next prev parent reply other threads:[~2006-02-14 1:27 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-13 8:25 git-bisect problem Andrew Morton
2006-02-13 9:11 ` Junio C Hamano
2006-02-13 9:32 ` Andrew Morton
2006-02-13 9:39 ` Ryan Anderson
2006-02-13 9:51 ` Andrew Morton
2006-02-13 9:58 ` Fernando J. Pereda
2006-02-13 10:22 ` Luben Tuikov
2006-02-13 10:23 ` Luben Tuikov
2006-02-13 12:21 ` cat-file (was Re: git-bisect problem) Joshua N Pritikin
2006-02-13 10:14 ` git-bisect problem Ryan Anderson
2006-02-13 10:25 ` Andrew Morton
2006-02-13 16:44 ` Linus Torvalds
2006-02-13 10:40 ` Luben Tuikov
2006-02-13 10:44 ` Andrew Morton
2006-02-14 0:33 ` Junio C Hamano
2006-02-13 10:08 ` Junio C Hamano
2006-02-13 10:19 ` Andrew Morton
2006-02-14 0:32 ` Junio C Hamano
2006-02-14 0:56 ` Andrew Morton
2006-02-14 1:14 ` Linus Torvalds
2006-02-14 1:15 ` Petr Baudis
2006-02-14 1:27 ` Petr Baudis [this message]
2006-02-14 1:52 ` Junio C Hamano
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=20060214012755.GC31278@pasky.or.cz \
--to=pasky@suse.cz \
--cc=akpm@osdl.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).