]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/history: rename "--ref-action=" to "--update-refs="
authorPatrick Steinhardt <ps@pks.im>
Mon, 16 Feb 2026 06:45:47 +0000 (07:45 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Feb 2026 16:37:51 +0000 (08:37 -0800)
commit060e602dcb4ce94cd57ccdc4256a136fc36d9c40
treea2974169f00ed4a3c8603013fd31dbce49810edf
parent1073fa14e14ae119d6025298eafcb3f1c12bd7df
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>
Documentation/git-history.adoc
builtin/history.c
t/t3451-history-reword.sh