aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-03-03 14:51:29 -0800
committerJunio C Hamano <gitster@pobox.com>2025-03-03 14:51:29 -0800
commit6dff5de1da7157de20310b10e5a0c09953dbb4bb (patch)
treefd80c8c5c14df8ba86746c29c90a2571e0247493
parentbuiltin/refs: add '--no-reflog' flag to drop reflogs (diff)
downloadgit-6dff5de1da7157de20310b10e5a0c09953dbb4bb.tar.gz
git-6dff5de1da7157de20310b10e5a0c09953dbb4bb.zip
refs: show --no-reflog in the help text
We forgot that we must keep the documentation and help text in sync. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin/refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/refs.c b/builtin/refs.c
index c459507d51..44d592a94c 100644
--- a/builtin/refs.c
+++ b/builtin/refs.c
@@ -8,7 +8,7 @@
#include "worktree.h"
#define REFS_MIGRATE_USAGE \
- N_("git refs migrate --ref-format=<format> [--dry-run]")
+ N_("git refs migrate --ref-format=<format> [--no-reflog] [--dry-run]")
#define REFS_VERIFY_USAGE \
N_("git refs verify [--strict] [--verbose]")