Re: [PATCH 3/3] builtin/refs: introduce subcommand groups
Patrick Steinhardt <ps@pks.im> writes:
Show 28 quoted lines
> 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