Skip to content

Commit dc8937f

Browse files
Linus Arvergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8e80f29 commit dc8937f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-interpret-trailers.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,13 @@ trailer.<token>.ifmissing::
238238
that option for trailers with the specified <token>.
239239

240240
trailer.<token>.command::
241+
Deprecated in favor of 'trailer.<token>.cmd'.
241242
This option behaves in the same way as 'trailer.<token>.cmd', except
242243
that it doesn't pass anything as argument to the specified command.
243244
Instead the first occurrence of substring $ARG is replaced by the
244245
<value> that would be passed as argument.
245246
+
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
248248
only replaced once and that the original way of replacing $ARG is not safe.
249249
+
250250
When both 'trailer.<token>.cmd' and 'trailer.<token>.command' are given

0 commit comments

Comments
 (0)