Thread (21 messages) 21 messages, 4 authors, 10h ago

Re: [PATCH v2 3/3] bisect: add --auto-reset to leave when done

From: Johannes Sixt <hidden>
Date: 2026-07-18 16:19:13

Am 17.07.26 um 20:27 schrieb Harald Nordgren via GitGitGadget:
From: Harald Nordgren <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help