From: Junio C Hamano Date: Thu, 01 Oct 2026 17:46:43 GMT Subject: Re: [PATCH 3/3] builtin/refs: introduce subcommand groups Message-ID: In-Reply-To: <20261001-b4-pks-parse-options-subcommand-groups-v1-3-01eb2f4a4c32@pks.im> Patrick Steinhardt writes: > The git-refs(1) command nowadays has a bunch of different subcommands, > which makes it hard to figure out what's what at a glance. Now that the > parse-options subsystem supports grouping subcommands though we can do > better. The commands roughly fall into the following categories: > > - Operations that span across the whole reference database. > > - Operations that read references. > > - Operations that write references. > > Introduce these groups accordingly, which results in the following help > output: > > Reference database > migrate migrate the reference database to a different format > verify verify the consistency of the reference database > optimize optimize the reference database > > Reading references > list list references > exists check whether a reference exists > > Writing references > create create a new reference > delete delete a reference > update update an existing reference > rename rename a reference Nice.