From: Justin Tobler Date: Wed, 23 Jul 2025 18:14:19 GMT Subject: Re: [PATCH 2/8] builtin/reflog: improve grouping of subcommands Message-ID: <32gvkjmjz6otqwpaxafmz5xuznowhn4iwcdyn52qhbvzohyih4@oeimg3xvqj5u> In-Reply-To: <20250722-pks-reflog-append-v1-2-183e5949de16@pks.im> On 25/07/22 01:20PM, Patrick Steinhardt wrote: > The way subcommands of git-reflog(1) are layed out does not make any s/layed/laid/ > immediate sense. Reorder them such that read-only subcommands precede > writing commands for a bit more structure. > > Furthermore, move the "expire" subcommand last. This prepares for a > subsequent change where we are about to introduce a new "write" command > to append reflog entries. Like this, the writing subcommands are ordered > such that those affecting a single reflog come before those spanning > across all reflogs. > > Signed-off-by: Patrick Steinhardt > --- > Documentation/git-reflog.adoc | 8 ++++---- > builtin/reflog.c | 38 +++++++++++++++++++------------------- > 2 files changed, 23 insertions(+), 23 deletions(-) > > diff --git a/Documentation/git-reflog.adoc b/Documentation/git-reflog.adoc > index 707a9b39edb..6ae13e772b8 100644 > --- a/Documentation/git-reflog.adoc > +++ b/Documentation/git-reflog.adoc > @@ -11,13 +11,13 @@ SYNOPSIS > [synopsis] > git reflog [show] [] [] > git reflog list > -git reflog expire [--expire=