Re: [PATCH v2 3/3] bisect: add --auto-reset to leave when done
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jul 18, 2026, 16:18 UTC
- Message-ID
- <b79a479b-d279-4ac9-a368-6eb8edfed937@kdbg.org>
- In-Reply-To
- <5b3704fbd4129e6bf742fe9b38998d5c952c6f21.1784312854.git.gitgitgadget@gmail.com>
Am 17.07.26 um 20:27 schrieb Harald Nordgren via GitGitGadget:
Show 10 quoted lines
> From: Harald Nordgren <haraldnordgren@gmail.com> > > When a bisection finishes, "git bisect" reports the first bad commit > but leaves the session active until "git bisect reset" is run by hand. > > Add an "--auto-reset[=<where>]" option, accepted by both "git bisect > start" and "git bisect run", that resets as soon as the first bad commit > is found. The "original" value returns to the commit checked out before > "git bisect start", while "found" leaves the first bad commit checked > out; omitting the value defaults to "original".
IMHO, --auto-reset is too generic and doesn't give a clue what is automatic about it. How about --reset-when-found?
-- Hannes