Re: [PATCH v3 2/4] doc: replay: improve config description

"Kristoffer Haugsbakk" <[email protected]> Thu, 30 Jul 2026 11:50:24 +0200
Newsgroups org.kernel.vger.git
Message-ID <[email protected]>
On Wed, Jul 8, 2026, at 14:04, Toon Claes wrote:
>>[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!

>
>> +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]