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

Re: git bisect result off by 1 commit

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 9, 2013, 02:03 UTC
Message-ID
<7v1ucqxmyd.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1360374853.17632.182.camel@schen9-DESK>
Tim Chen <tim.c.chen@linux.intel.com> writes:
Show 14 quoted lines
> When I am doing a git bisect to track down a problem commit on the Linux 
> kernel tree, I found that git bisect actually led me to a patch that's one
> before the problem commit.
>
> In particular,
>
> $ git bisect replay bisectlog 
> Previous HEAD position was d54b1a9... perf script: Remove use of die/exit
> HEAD is now at a0d271c... Linux 3.6
> Bisecting: 0 revisions left to test after this (roughly 0 steps)
> [d54b1a9e0eaca92cde678d19bd82b9594ed00450] perf script: Remove use of die/exit
>
> However, the patch that is problematic is the one before the one git bisect indicated.
> [commit 8d3eca20b9f31cf10088e283d704f6a71b9a4ee2].
Looks perfectly normal to me.  The message above:
> HEAD is now at a0d271c... Linux 3.6
> Bisecting: 0 revisions left to test after this (roughly 0 steps)
> [d54b1a9e0eaca92cde678d19bd82b9594ed00450] perf script: Remove use of die/exit

is asking you to test the commit at d54b1a9e and tell it the result of the test. The message says "0 left to test *after* this"; doesn't it mean you still need to do *this*?

A bisecct session ends when it tells you
	XXXXXX is the first bad commit

which I do not see in the above. You seem to have stopped before that happens.

Previous: Tim ChenNext: Tim Chen
Message 2 of 3 in “git bisect result off by 1 commit”
  1. Tim ChenFeb 9, 2013
  2. Junio C HamanoFeb 9, 2013
  3. Tim ChenFeb 11, 2013

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.