aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-revert.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-15 14:32:18 -0700
committerJunio C Hamano <gitster@pobox.com>2022-08-03 13:47:11 -0700
commit0dbc715ae0ccf0991d032173d86890a90bf94814 (patch)
treea635b90f462dd78145faad71c76ab06e2beb30a0 /Documentation/git-revert.txt
parent6a475b71f8c4ce708d69fdc9317aefbde3769e25 (diff)
downloadgit-0dbc715ae0ccf0991d032173d86890a90bf94814.tar.gz
doc: consolidate --rerere-autoupdate description
The `--rerere-autoupdate` option is shared across 5 commands, and are described the same way because it works exactly the same way in these commands. Create a separate file and include it from the help pages for these commands, so that we can improve the description at one place to improve all of them at once, and keep them in sync. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-revert.txt')
-rw-r--r--Documentation/git-revert.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt
index 8463fe9cf7..0105a54c1a 100644
--- a/Documentation/git-revert.txt
+++ b/Documentation/git-revert.txt
@@ -112,10 +112,7 @@ effect to your index in a row.
Pass the merge strategy-specific option through to the
merge strategy. See linkgit:git-merge[1] for details.
---rerere-autoupdate::
---no-rerere-autoupdate::
- Allow the rerere mechanism to update the index with the
- result of auto-conflict resolution if possible.
+include::rerere-options.txt[]
--reference::
Instead of starting the body of the log message with "This