[PATCH 5/5] interpret-trailers: add --parse convenience option

2017-08-10 Thread Jeff King
The last few commits have added command line options that can turn interpret-trailers into a parsing tool. Since they'd most often be used together, let's provide a convenient single option for callers to invoke this mode. This is implemented as a callback rather than a boolean so that its effect

Re: [PATCH 5/5] interpret-trailers: add --parse convenience option

2017-08-10 Thread Jeff King
On Wed, Aug 09, 2017 at 11:20:12AM -0700, Stefan Beller wrote: > > +--parse:: > > + A convenience alias for `--only-trailers --only-existing > > + --normalize`. > > Somewhere in this series, we'd want to not just describe each > of the new knobs, but reword the initial description, to

Re: [PATCH 5/5] interpret-trailers: add --parse convenience option

2017-08-09 Thread Stefan Beller
On Wed, Aug 9, 2017 at 5:26 AM, Jeff King wrote: > The last few commits have added command line options that > can turn interpret-trailers into a parsing tool. Since > they'd most often be used together, let's provide a > convenient single option for callers to invoke this mode. > > This is implem

[PATCH 5/5] interpret-trailers: add --parse convenience option

2017-08-09 Thread Jeff King
The last few commits have added command line options that can turn interpret-trailers into a parsing tool. Since they'd most often be used together, let's provide a convenient single option for callers to invoke this mode. This is implemented as a callback rather than a boolean so that its effect