Re: [PATCH 3/3] bisect: add --auto-reset to leave when done
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Jul 16, 2026, 21:22 UTC
- Message-ID
- <CAHwyqnUFfewFm7tr-Busv1rKP=4Rqnq+vJ7mEdgbaRLKbpbo=g@mail.gmail.com>
- In-Reply-To
- <xmqqse5ihmsz.fsf@gitster.g>
Show 11 quoted lines
> > Add an "--auto-reset" option, accepted by both "git bisect start" and > > "git bisect run", that resets as soon as the first bad commit is found, > > returning to the commit checked out before "git bisect start". The flag > > is persisted in a BISECT_AUTO_RESET state file and the restoring > > checkout is done quietly. > > I often find myself, after the culprit is found, running 'git > reset --hard' or 'git bisect reset' to jump to the problematic > commit to investigate further. If '--auto-reset' leaves me > checked out on that bad commit, that would be a very welcome > change.
No it's the opposite, returns to where we started before the bisection.
I don't mind changing it assuming no one likes the original idea. I guess the name shouldn't be '--auto-reset' then.
Harald