Re: [PATCH 3/5] interpret-trailers: add an option to show only existing trailers
- From
Stefan Beller <sbeller@google.com>
- Date
- Aug 9, 2017, 18:18 UTC
- Message-ID
- <CAGZ79kYqq_EhRxckM4iV=99r59Y7_y94j+-65xXLUF4y2vNUUw@mail.gmail.com>
- In-Reply-To
- <20170809122439.fscozhyvxcx2oq2n@sigill.intra.peff.net>
On Wed, Aug 9, 2017 at 5:24 AM, Jeff King <peff@peff.net> wrote:
Show 6 quoted lines
> It can be useful to invoke interpret-trailers for the > primary purpose of parsing existing trailers. But in that > case, we don't want to apply existing ifMissing or ifExists > rules from the config. Let's add a special mode where we > avoid applying those rules. Coupled with --only-trailers, > this gives us a reasonable parsing tool.
I have the impression that the name is slightly misleading because 'only' just reduces the set. it does not enhance it. (Do we have a configuration that says "remove this trailer anytime"?)
So maybe this is rather worded as 'exact-trailers' ?