send-email: also pick up cc addresses from -by trailers
commitef0cc1df90f6b6c2987ab2db8e0ccf2cfc421edf
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Tue, 16 Oct 2018 07:39:23 +0000 (16 09:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Oct 2018 07:55:14 +0000 (16 16:55 +0900)
tree8290e247b3f6d12e390b3599949a4d98a062d0ea
parentfb34fe6a24e81c5568b0016d6d067ff8d840a244
send-email: also pick up cc addresses from -by trailers

When rerolling a patch series, including various Reviewed-by etc. that
may have come in, it is quite convenient to have git-send-email
automatically cc those people.

So pick up any *-by lines, with a new suppression category 'misc-by',
but special-case Signed-off-by, since that already has its own
suppression category. It seems natural to make 'misc-by' implied by
'body'.

Based-on-patch-by: Joe Perches <joe@perches.com>
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl