From: Patrick Steinhardt Date: Wed, 6 Aug 2025 05:54:13 +0000 (+0200) Subject: builtin/reflog: improve grouping of subcommands X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=649c7bb77a173c6ef2c27fc64b8689aee9b0b8a8;p=thirdparty%2Fgit.git builtin/reflog: improve grouping of subcommands The way subcommands of git-reflog(1) are laid out does not make any 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-reflog.adoc b/Documentation/git-reflog.adoc index 0d6601fdea..4eb6c25607 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=