Re: [PATCH v2 00/14] Finish converting git bisect into a built-in
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 25, 2022, 16:03 UTC
- Message-ID
- <nycvar.QRO.7.76.6.2202251700110.11118@tvgsbejvaqbjf.bet>
- In-Reply-To
- <xmqqo82xs1ue.fsf@gitster.g>
Hi Junio,
On Wed, 23 Feb 2022, Junio C Hamano wrote:
> [...] the parse-options bit I am not sure about (read: I do not have a > strong objection, but I do have to wonder if there is a better way to > achieve the goal) [...]
After spending a lot of time to try to make it work, I realized that it's in the name of `parse_options()` that it's not a `handle_subcommand()` API.
So yes, I agree there is probably a better way (and e.g. `git bundle` and `scalar` would benefit from it, too): designing a proper API for handling subcommands.
That's safely outside the scope of the patch series, of course.
> Will queue.
Thanks, Dscho