From: Christian Couder Date: Mon, 26 Oct 2020 12:38:10 GMT Subject: Re: [PATCH 04/21] pretty: allow using aliases in %(trailer:key=xyz) Message-ID: In-Reply-To: <20201025212652.3003036-5-anders@0x63.nu> On Sun, Oct 25, 2020 at 10:27 PM Anders Waldenborg wrote: > diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt > index 84bbc7439a..1714fa447d 100644 > --- a/Documentation/pretty-formats.txt > +++ b/Documentation/pretty-formats.txt > @@ -256,7 +256,9 @@ endif::git-rev-list[] > ** 'key=': only show trailers with specified key. Matching is done > case-insensitively and trailing colon is optional. If option is > given multiple times trailer lines matching any of the keys are > - shown. This option automatically enables the `only` option so that > + shown. If `trailer..key` configuration option is set 'token' s/If `trailer..key`/If the `trailer..key`/ s/is set 'token'/is set, ''/ > + can be used as an alias for showing trailers with the value in > + key. Maybe: "... for showing trailers case insensitively matching the value of this configuration option."