Re: [PATCH] git-contacts: Add recognition of Reported-by

2017-07-27 Thread Junio C Hamano
Jeff King writes: > Yeah, I don't think interpret-trailers is currently a useful tool for > looking at an extra config key like that. I'd expect it would need to be > extended, or a new tool added, or perhaps existing tools would need to > learn more about how trailers work (e.g.,

Re: [PATCH] git-contacts: Add recognition of Reported-by

2017-07-24 Thread Jeff King
On Mon, Jul 24, 2017 at 12:29:04PM -0700, Junio C Hamano wrote: > > There's already some prior art around trailers in the trailer.* config. > > I wonder if it would make sense to claim a new key there, like: > > > > git config trailer.Reported-by.autocc true > > > > If "Reported-by" is a

Re: [PATCH] git-contacts: Add recognition of Reported-by

2017-07-24 Thread Junio C Hamano
Jeff King writes: >> I also should have mentioned the need for a way to say "remove all >> hardcoded default and start from scratch". > > There's already some prior art around trailers in the trailer.* config. > I wonder if it would make sense to claim a new key there, like: > >

Re: [PATCH] git-contacts: Add recognition of Reported-by

2017-07-24 Thread Jeff King
On Fri, Jul 21, 2017 at 09:03:16AM -0700, Junio C Hamano wrote: > Eric Blake writes: > > > You mean, something like > > > > git config --add contacts.autocc Reported-by > > git config --add contacts.autocc Suggested-by > > > > where contacts.autocc would be a new multi-valued

Re: [PATCH] git-contacts: Add recognition of Reported-by

2017-07-21 Thread Junio C Hamano
Eric Blake writes: > You mean, something like > > git config --add contacts.autocc Reported-by > git config --add contacts.autocc Suggested-by > > where contacts.autocc would be a new multi-valued config option > specifying additional Tag: patterns to scrape out of the commit

Re: [PATCH] git-contacts: Add recognition of Reported-by

2017-07-21 Thread Eric Blake
On 07/21/2017 09:37 AM, Junio C Hamano wrote: > Eric Blake writes: > >> It's nice to cc someone that reported a bug, in order to let >> them know that a fix is being considered, and possibly even >> get their help in reviewing/testing the patch. >> >> Signed-off-by: Eric Blake

Re: [PATCH] git-contacts: Add recognition of Reported-by

2017-07-21 Thread Junio C Hamano
Eric Blake writes: > It's nice to cc someone that reported a bug, in order to let > them know that a fix is being considered, and possibly even > get their help in reviewing/testing the patch. > > Signed-off-by: Eric Blake > --- I don't know if this new