git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: totally confused as to what "git bisect skip" is supposed to do

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
Feb 9, 2018, 19:51 UTC
Message-ID
<alpine.LFD.2.21.1802091447540.14489@localhost.localdomain>
In-Reply-To
<xmqqo9kyvthx.fsf@gitster-ct.c.googlers.com>
On Fri, 9 Feb 2018, Junio C Hamano wrote:
Show 7 quoted lines
> "Robert P. J. Day" <rpjday@crashcourse.ca> writes:
>
> >   i'm confused ... why, after skipping a good chunk in the
> > interval [v4.13,v4.14], do i still have exactly 7300 revisions to
> > bisect? what am i so hopelessly misunderstanding here?
>
> Are you really "skipping" a chunk in the interval?
  i don't know ... am i? how should i interpret the man page?
Show 6 quoted lines
> I thought that "git bisect skip" is a way for you to respond, when
> "git bisect" gave you a commit to test, saying "sorry, I cannot test
> that exact version, please offer me something else to test".  And
> each time you say that, you are not narrowing the search space in
> any way, so it is understandable that the number of candidate bad
> commits will not decrease.
  i caught that part of the man page, but i'm trying to understand
what i'm reading here:
https://blog.smart.ly/2015/02/03/git-bisect-debugging-with-feature-branches/
  particularly this suggestion:
  $ git bisect start master 75369f4a4c026772242368d870872562a3b693cb
  $ for rev in $(git rev-list
    75369f4a4c026772242368d870872562a3b693cb..master --merges
    --first-parent); do
    >   git rev-list $rev^2 --not $rev^
    > done | xargs git bisect skip

my interpretation of that page is how, after starting a bisection, one can use "git bisect skip" to explicitly disqualify a sizable number of commits from consideration, speeding up the subsequent bisection.

  if that's not what that web page is describing, then what *is* it
talking about?
rday
Previous: Junio C HamanoNext: Robert P. J. Day
Message 3 of 8 in “totally confused as to what "git bisect skip" is supposed to do”
  1. Robert P. J. DayFeb 9, 2018
  2. Junio C HamanoFeb 9, 2018
  3. Robert P. J. DayFeb 9, 2018
  4. Robert P. J. DayFeb 12, 2018
  5. Christian CouderFeb 12, 2018
  6. Robert P. J. DayFeb 13, 2018
  7. Christian CouderFeb 13, 2018
  8. Robert P. J. DayFeb 13, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.