Re: [PATCH 04/21] pretty: allow using aliases in %(trailer:key=xyz)
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Oct 26, 2020, 12:38 UTC
- Message-ID
- <CAP8UFD31UwuiQrWmM7te1Am3i9Ryvi8_XgDLM6B1fs5WUn_GxQ@mail.gmail.com>
- In-Reply-To
- <20201025212652.3003036-5-anders@0x63.nu>
On Sun, Oct 25, 2020 at 10:27 PM Anders Waldenborg <anders@0x63.nu> wrote:
Show 10 quoted lines
> 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=<K>': 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.<token>.key` configuration option is set 'token'
s/If `trailer.<token>.key`/If the `trailer.<token>.key`/ s/is set 'token'/is set, '<token>'/
> + 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."