Re: [PATCH 14/14] shortlog: match commit trailers with --ident
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jan 4, 2016, 09:44 UTC
- Message-ID
- <CAPig+cTqfd4QezR09QwUb_7viML_4LB5ChNF_eXVCsbGHLaDMQ@mail.gmail.com>
- In-Reply-To
- <20151229075013.GA9191@sigill.intra.peff.net>
On Tue, Dec 29, 2015 at 2:50 AM, Jeff King <peff@peff.net> wrote:
Show 6 quoted lines
> This doesn't leave us many syntactic "outs" for adding new ident types > in the future (nor can you match a trailer called "Author"). I guess we > could call this "--ident=trailer:reviewed-by" to be more precise, but > it's more annoying to type. Perhaps we could consider that the > "official" syntax, and DWIM "--ident=foo" to "--ident=trailer:foo", with > the caveat that it may change in the future. I dunno.
Would anyone ever want to be able to specify multiple trailers for counting? That is:
--ident=trailer:helped-by,reviewed-by
or
--ident=trailer:helped-by --ident=trailer:reviewed-by