]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: trailer.<token>.command: emphasize deprecation
authorLinus Arver <linusa@google.com>
Thu, 15 Jun 2023 02:53:48 +0000 (02:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Jun 2023 04:42:20 +0000 (21:42 -0700)
This puts the deprecation notice up front, instead of leaving it to the
next paragraph.

Signed-off-by: Linus Arver <linusa@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-interpret-trailers.txt

index 97dc1c8c95d802751fe3b3de0a091a9da2733cdb..6016af5c203111ef1cbcb3bb961addc9a4f79aa0 100644 (file)
@@ -238,13 +238,13 @@ trailer.<token>.ifmissing::
        that option for trailers with the specified <token>.
 
 trailer.<token>.command::
+       Deprecated in favor of 'trailer.<token>.cmd'.
        This option behaves in the same way as 'trailer.<token>.cmd', except
        that it doesn't pass anything as argument to the specified command.
        Instead the first occurrence of substring $ARG is replaced by the
        <value> that would be passed as argument.
 +
-The 'trailer.<token>.command' option has been deprecated in favor of
-'trailer.<token>.cmd' due to the fact that $ARG in the user's command is
+Note that $ARG in the user's command is
 only replaced once and that the original way of replacing $ARG is not safe.
 +
 When both 'trailer.<token>.cmd' and 'trailer.<token>.command' are given