Message ID | 1ac58b0b07c21fe4494f5fbe5d4b0f9bc1a49ac0.1683566870.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | docs: interpret-trailers: reword and add examples | expand |
"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? > 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
Junio C Hamano <gitster@pobox.com> writes: > "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? Good call; will do in v2. >> 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
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