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

git-bisect(1): BISECT_HEAD without --no-checkout

From
ACAlejandro Colomar <alx@kernel.org>
Date
Oct 3, 2026, 10:59 UTC
Message-ID
<asDezml3pAHrcI-0@debian>
Hi!

I'd find it useful to have BISECT_HEAD set even without --no-checkout. I need git-bisect(1) to checkout the commit being tested, to perform some test, then switch to a different branch (perform a rebase), then remember which commit was being tested to let git-bisect(1) know which one I'm testing, to tell git-bisect(1) whether it was good or bad.

I was using BISECT_HEAD as in "git bisect good BISECT_HEAD" when I was using --no-checkout, but now that I need to do something else, I don't have BISECT_HEAD available, which would be quite convenient.

Would it be possible to set it unconditionally?

In the meantime, I'll set up a variable to remember it, but I think this would be a long-term improvement.

Have a lovely day! Alex

-- 
<https://www.alejandro-colomar.es>
Message 1 of 1 in “git-bisect(1): BISECT_HEAD without --no-checkout”
  1. Alejandro ColomarOct 3, 2026

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.