On Wed, Jul 8, 2026, at 14:04, Toon Claes wrote:
quoted
[snip]
-This setting can be overridden with the `--ref-action` command-line option.
-When not configured, `git replay` defaults to `update` mode.
+ifdef::git-replay[]
+See `--ref-action`.
+endif::git-replay[]
+ifndef::git-replay[]
+See `--ref-action` for linkgit:git-replay[1] for details.
I'm not sure about using "for" twice, how about:
See `--ref-action` in linkgit:git-replay[1] for details.
That’s excellent. I’ll use it.
Thanks for taking a look!
quoted
+endif::git-replay[]
diff --git a/Documentation/git-replay.adoc b/Documentation/git-replay.adoc
index f9ca2db2833..4de85088d6c 100644
--- a/Documentation/git-replay.adoc
+++ b/Documentation/git-replay.adoc
@@ -211,6 +211,7 @@ to use bare commit IDs instead of branch names.
[snip]