From: Alejandro Colomar <alx@kernel.org>
To: git@vger.kernel.org
Subject: git-bisect(1): BISECT_HEAD without --no-checkout
Date: Sat, 3 Oct 2026 12:59:18 +0200 [thread overview]
Message-ID: <asDezml3pAHrcI-0@debian> (raw)
[-- Attachment #1: Type: text/plain, Size: 807 bytes --]
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>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
reply other threads:[~2026-10-03 10:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=asDezml3pAHrcI-0@debian \
--to=alx@kernel.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox