aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-history.adoc
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-02-16 07:45:47 +0100
committerJunio C Hamano <gitster@pobox.com>2026-02-17 08:37:51 -0800
commit060e602dcb4ce94cd57ccdc4256a136fc36d9c40 (patch)
treea2974169f00ed4a3c8603013fd31dbce49810edf /Documentation/git-history.adoc
parent1073fa14e14ae119d6025298eafcb3f1c12bd7df (diff)
downloadgit-060e602dcb4ce94cd57ccdc4256a136fc36d9c40.tar.xz
builtin/history: rename "--ref-action=" to "--update-refs="
With the preceding commit we have changed "--ref-action=" to only control which refs are supposed to be updated, not what happens with them. As a consequence, the option is now somewhat misnamed, as we don't control the action itself anymore. Rename it to "--update-refs=" to better align it with its new use. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-history.adoc')
-rw-r--r--Documentation/git-history.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-history.adoc b/Documentation/git-history.adoc
index df2900ac2f..4dbe665ec4 100644
--- a/Documentation/git-history.adoc
+++ b/Documentation/git-history.adoc
@@ -8,7 +8,7 @@ git-history - EXPERIMENTAL: Rewrite history
SYNOPSIS
--------
[synopsis]
-git history reword <commit> [--dry-run] [--ref-action=(branches|head)]
+git history reword <commit> [--dry-run] [--update-refs=(branches|head)]
DESCRIPTION
-----------
@@ -66,7 +66,7 @@ OPTIONS
objects will be written into the repository, so applying these printed
ref updates is generally safe.
-`--ref-action=(branches|head)`::
+`--update-refs=(branches|head)`::
Control which references will be updated by the command, if any. With
`branches`, all local branches that point to commits which are
descendants of the original commit will be rewritten. With `head`, only