From: Ævar Arnfjörð Bjarmason Date: Thu, 17 Mar 2022 18:08:40 +0000 (+0100) Subject: reflog [show]: display sensible -h output X-Git-Tag: v2.36.0-rc0~18^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fbc15b13f7380ee7b52fdcb467c3438c569fd5de;p=thirdparty%2Fgit.git reflog [show]: display sensible -h output Change the "git reflog show -h" output to show the usage summary relevant to it, rather than displaying the same output that "git log -h" would show. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- diff --git a/builtin/reflog.c b/builtin/reflog.c index 6bd176fe91..6c4fe1af40 100644 --- a/builtin/reflog.c +++ b/builtin/reflog.c @@ -5,6 +5,9 @@ #include "worktree.h" #include "reflog.h" +#define BUILTIN_REFLOG_SHOW_USAGE \ + N_("git reflog [show] [] []") + #define BUILTIN_REFLOG_EXPIRE_USAGE \ N_("git reflog expire [--expire=