Skip to content

Commit cb85ed1

Browse files
zivarahgitster
authored andcommitted
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 <[email protected]> Acked-by: Linus Arver <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 133db54 commit cb85ed1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/pretty-formats.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ option is given with no value, it's enabled.
302302
** 'keyonly[=<bool>]': only show the key part of the trailer.
303303
** 'valueonly[=<bool>]': only show the value part of the trailer.
304304
** 'key_value_separator=<sep>': specify a separator inserted between
305-
trailer lines. When this option is not given each trailer key-value
306-
pair is separated by ": ". Otherwise it shares the same semantics
305+
the key and value of each trailer. When this option is not given each trailer
306+
key-value pair is separated by ": ". Otherwise it shares the same semantics
307307
as 'separator=<sep>' above.
308308

309309
NOTE: Some placeholders may depend on other options given to the

0 commit comments

Comments
 (0)