doc: trailer.<token>.command: emphasize deprecation
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>
Linus Arver committed
Jun 15, 2023 at 02:53 UTC
dc8937fbb99aa00de777852cc7d04d0534bb956c
1 file changed
+2
-2
Documentation/git-interpret-trailers.txt
+2
-2
@@ -238,13 +238,13 @@ trailer.<token>.ifmissing::
238
that option for trailers with the specified <token>.
239
240
trailer.<token>.command::
241
+ Deprecated in favor of 'trailer.<token>.cmd'.
242
This option behaves in the same way as 'trailer.<token>.cmd', except
243
that it doesn't pass anything as argument to the specified command.
244
Instead the first occurrence of substring $ARG is replaced by the
245
<value> that would be passed as argument.
246
+
246
-The 'trailer.<token>.command' option has been deprecated in favor of
247
-'trailer.<token>.cmd' due to the fact that $ARG in the user's command is
247
+Note that $ARG in the user's command is
248
only replaced once and that the original way of replacing $ARG is not safe.
249
+
250
When both 'trailer.<token>.cmd' and 'trailer.<token>.command' are given