aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorBrian Lyles <brianmlyles@gmail.com>2024-03-18 00:38:01 -0500
committerJunio C Hamano <gitster@pobox.com>2024-03-18 09:35:49 -0700
commitcb85ed1eb4df9b0ae3f2020a6c1036cd493c5284 (patch)
treea57f5772426008d764c3961a1f6e14866dd32ab8 /Documentation
parent133db54dabd2174960d4a7449a1a7ed574ea0ad3 (diff)
downloadgit-cb85ed1eb4df9b0ae3f2020a6c1036cd493c5284.tar.gz
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 <brianmlyles@gmail.com> Acked-by: Linus Arver <linusa@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/pretty-formats.txt4
1 files changed, 2 insertions, 2 deletions
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[=<bool>]': only show the key part of the trailer.
** 'valueonly[=<bool>]': only show the value part of the trailer.
** 'key_value_separator=<sep>': 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=<sep>' above.
NOTE: Some placeholders may depend on other options given to the