Re: [PATCH 09/11] doc: trailer.<token>.command: emphasize deprecation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 8, 2023, 19:48 UTC
- Message-ID
- <xmqqsfc6mwok.fsf@gitster.g>
- In-Reply-To
- <1ac58b0b07c21fe4494f5fbe5d4b0f9bc1a49ac0.1683566870.git.gitgitgadget@gmail.com>
"Linus Arver via GitGitGadget" <gitgitgadget@gmail.com> writes:
> From: Linus Arver <linusa@google.com> > > This puts the deprecation notice up front, instead of leaving it to the > next paragraph.
Shouldn't the opening text of the next paragraph be tweaked in the same commit to avoid duplication?
Show 18 quoted lines
> Signed-off-by: Linus Arver <linusa@google.com> > --- > Documentation/git-interpret-trailers.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/git-interpret-trailers.txt b/Documentation/git-interpret-trailers.txt > index 5ca758e363f..c9b82ceba34 100644 > --- a/Documentation/git-interpret-trailers.txt > +++ b/Documentation/git-interpret-trailers.txt > @@ -234,7 +234,7 @@ trailer.<token>.ifmissing:: > that option for trailers with the specified <token>. > > trailer.<token>.command:: > - This option behaves in the > + 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> from the trailer. See the