From: Brian Lyles Date: Mon, 18 Mar 2024 05:38:01 +0000 (-0500) Subject: docs: correct trailer `key_value_separator` description X-Git-Tag: v2.45.0-rc0~77^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb85ed1eb4df9b0ae3f2020a6c1036cd493c5284;p=thirdparty%2Fgit.git docs: correct trailer `key_value_separator` description The description for `key_value_separator` incorrectly states that this separator is inserted between trailer lines, which appears likely to have been incorrectly copied from `separator` when this option was added. Update the description to correctly indicate that it is a separator that appears between the key and the value of each trailer. Signed-off-by: Brian Lyles Acked-by: Linus Arver Signed-off-by: Junio C Hamano --- diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index 23f6335887..6f0d3daa4d 100644 --- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt @@ -302,8 +302,8 @@ option is given with no value, it's enabled. ** 'keyonly[=]': only show the key part of the trailer. ** 'valueonly[=]': only show the value part of the trailer. ** 'key_value_separator=': specify a separator inserted between - trailer lines. When this option is not given each trailer key-value - pair is separated by ": ". Otherwise it shares the same semantics + the key and value of each trailer. When this option is not given each trailer + key-value pair is separated by ": ". Otherwise it shares the same semantics as 'separator=' above. NOTE: Some placeholders may depend on other options given to the