pretty format %(trailers) doc: avoid repetition
authorÆvar Arnfjörð Bjarmason <redacted>
Wed, 9 Dec 2020 15:52:05 +0000 (16:52 +0100)
committerJunio C Hamano <redacted>
Wed, 9 Dec 2020 22:16:42 +0000 (14:16 -0800)
commit2762e17117fdd7ab73eb3f2970620a6f91500d01
tree150912f26f848acdb7f9dde4130d9120334d6a1a
parent7c1f79fc16115cc971de571e4203ca78984352a7
pretty format %(trailers) doc: avoid repetition

Change the documentation for the various %(trailers) options so it
isn't repeating part of the documentation for "only" about how boolean
values are handled. Instead, let's split the description of that into
general documentation at the top.

It then suffices to refer to it by listing the options as
"opt[=<BOOL>]". I'm also changing it to upper-case "[=<BOOL>]" from
"[=val]" for consistency with "<SEP>"

It took me a couple of readings to realize that these options were
referring back to the "only" option's treatment of boolean
values.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/pretty-formats.txt
git clone https://git.99rst.org/PROJECT