]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: replay: move “default” to the right-hand side
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Wed, 3 Jun 2026 16:04:25 +0000 (18:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Jun 2026 23:12:04 +0000 (08:12 +0900)
This is now a description list (see previous commit) and parentheticals
like this do not go on the left-hand side. Moving it to the other side
makes it stand out just as much and is also more consistent with the
rest of the documentation.

Let’s also do the same for the `replay.refAction` description list.
That makes the two desc. lists identical in the first sentence. Let’s
add a comment about that for future editors.

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/replay.adoc
Documentation/git-replay.adoc

index 7328da9537dc64f9ab54217edd77a26b74b39187..40d1695782affdaa02ff6b0bca043c87381552c8 100644 (file)
@@ -3,7 +3,10 @@ replay.refAction::
        The value can be:
 +
 --
-`update`;; Update refs directly using an atomic transaction (default behavior).
+////
+These use the first sentences from the description list in git-replay(1).
+////
+`update`;; (default) Update refs directly using an atomic transaction.
 `print`;; Output update-ref commands for pipeline use.
 --
 +
index b4fe43ec687859e4043e449dd882b6dd2770c34c..ea4d14baddb6a9f3acbfd319354f6928edf8d767 100644 (file)
@@ -80,7 +80,10 @@ incompatible with `--contained` (which is a modifier for `--onto` only).
        Control how references are updated. The mode can be:
 +
 --
-`update` (default);; Update refs directly using an atomic transaction.
+////
+Expanded description list compared to 'replay.refAction'.
+////
+`update`;; (default) Update refs directly using an atomic transaction.
        All refs are updated or none are (all-or-nothing behavior).
 `print`;; Output update-ref commands for pipeline use. This is the
        traditional behavior where output can be piped to `git update-ref --stdin`.