]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: replay: move “default” to the right-hand side
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Thu, 30 Jul 2026 09:57:16 +0000 (11:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 16:15:04 +0000 (09:15 -0700)
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 a7dd52885535d966979eab87cd668f6f80acce44..84e17e313a1f072b2120137098380887b7ce8c0e 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`.