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

Re: git bisect enhancements?

From
Junio C Hamano <junkio@cox.net>
Date
Nov 30, 2005, 22:23 UTC
Message-ID
<7vmzjlojw6.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1133388429.30767.37.camel@cashmere.sps.mot.com>
Jon Loeliger <jdl@freescale.com> writes:
Show 5 quoted lines
> Sure.  But I'm proposing to alter the new bisection
> middle point.  I don't know its status yet.  I am
> just angling on hedging my bets of a "good midpoint"
> choice by finding something that is likely to be
> more stable than the proposed midpoint.

You could "git reset --hard <that-commit-N-up-or-down>", compile, test and say "git bisect good" or "git bisect bad".

Even "N commits before" is not so easy. "git reset --hard bisect~2" would be 2 commits before what git-bisect suggested as long as that chain in question is a single strand of pearls. "N commits after" is a bit harder, especially when a merge is involved. But you are right. Bisect should be able to do what you can visually do with gitk.

Previous: Jon LoeligerNext: Junio C Hamano
Message 4 of 6 in “git bisect enhancements?”
  1. Jon LoeligerNov 30, 2005
  2. Junio C HamanoNov 30, 2005
  3. Jon LoeligerNov 30, 2005
  4. Junio C HamanoNov 30, 2005
  5. Junio C HamanoNov 30, 2005
  6. Linus TorvaldsNov 30, 2005

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.