login
Header Space

 
 

Re: GIT bisection range errors

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ken Moffat <zarniwhoop@...>
Cc: Rene Herman <rene.herman@...>, Adrian Bunk <bunk@...>, Linux Kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>
Date: Thursday, May 8, 2008 - 7:33 pm

> > $ git checkout -b rc v2.6.26-rc1
 > > $ git bisect start
 > > $ git bisect bad
 > > $ git bisect good v2.6.25
 > >
 > > Yet, during this I'm finding myself at 2.6.25-rc6 and 2.6.25-rc8
 > > as the last two results (both good...).

 >  I reported a similar thing at the beginning of April
 > http://lkml.org/lkml/2008/4/2/390 - 2.6.25-rc1 bad, 2.6.24 good, git
 > dropped me back at 2.6.24-rc4 (again, according to the top level
 > Makefile).

This is normal and expected, due to the distributed nature of git and
the fact that git-bisect operates on the full topology of history and
not just a linear sequence of commits.

Imagine history like:

    A---B---C---D
     \         /
      \       /
       \     /
        E---F

where B is good and D is bad.  Now, when you bisect, there is no way to
know whether, say, E is good or bad and hence the bisect process may
present E as a tree to try.

Now, if B is the 2.6.25 release, then since E branched off before B, it
will have a Makefile that says 2.6.25-rcX.  Which is exactly the
behavior you are seeing.

In short, everything looks fine and is behaving as expected.

 - R.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
GIT bisection range errors, Rene Herman, (Thu May 8, 6:20 pm)
Re: GIT bisection range errors, Linus Torvalds, (Thu May 8, 7:00 pm)
Re: GIT bisection range errors, Rene Herman, (Thu May 8, 7:12 pm)
Re: GIT bisection range errors, Adrian Bunk, (Thu May 8, 6:25 pm)
Re: GIT bisection range errors, Rene Herman, (Thu May 8, 6:36 pm)
Re: GIT bisection range errors, Ken Moffat, (Thu May 8, 6:56 pm)
Re: GIT bisection range errors, Roland Dreier, (Thu May 8, 7:33 pm)
Re: GIT bisection range errors, Ken Moffat, (Fri May 9, 5:10 pm)
Re: GIT bisection range errors, Daniel Barkalow, (Fri May 9, 5:45 pm)
Re: GIT bisection range errors, Ken Moffat, (Sat May 10, 12:52 pm)
Re: GIT bisection range errors, Rene Herman, (Thu May 8, 9:12 pm)
speck-geostationary