Volume XXII, number 279Tuesday, October 6, 2026Latest message 22 minutes ago

The Git List

News and archive of git@vger.kernel.org, since April 2005

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

1 messages between Oct 3, 2026 and Oct 3, 2026, from Alejandro Colomar.

Plain Markdown or JSON for tools and agents.

Alejandro ColomarOct 3, 2026, 10:59 UTC on lore
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>

Back to recent threads

git-bisect(1): BISECT_HEAD without --no-checkout | The Git List