mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-02 17:14:01 -05:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
1073fa14e1
commit
060e602dcb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user