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

Re: git bisect with temporary commits

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Dec 14, 2015, 20:17 UTC
Message-ID
<87lh8whjj2.fsf@igel.home>
In-Reply-To
<20151214182255.GB13519@tonks>
Florian Bruhin <me@the-compiler.org> writes:
> I see - but wouldn't it make more sense for a "git bisect good" (or
> bad, respectively) without arguments to assume I mean the commit
> bisect checked out for me, not HEAD?

The problem is that there is nothing that marks the originally checked out commit except by being pointed to by HEAD. Also, testing a different commit as the one suggested by git can be useful when skipping over commits that are known to fail for unrelated reasons (see "Avoiding testing a commit" in git-bisect(1)).

Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Florian BruhinNext: Jeff King
Message 6 of 9 in “git bisect with temporary commits”
  1. Florian BruhinDec 14, 2015
  2. Andreas SchwabDec 14, 2015
  3. Florian BruhinDec 14, 2015
  4. Junio C HamanoDec 14, 2015
  5. Florian BruhinDec 14, 2015
  6. Andreas SchwabDec 14, 2015
  7. Jeff KingDec 14, 2015
  8. Junio C HamanoDec 14, 2015
  9. Jeff KingDec 14, 2015

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.