Re: [PATCH 09/11] doc: trailer.<token>.command: emphasize deprecation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

"Linus Arver via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes:

From: Linus Arver <linusa@xxxxxxxxxx>

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@xxxxxxxxxx>
---
  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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux