Re: [PATCH 1/1] get_maintainer.pl: add --cc option to produce comma separated list of emails

From: Joe Perches

Date: Thu Mar 19 2026 - 13:12:37 EST


On Thu, 2026-03-19 at 10:56 -0600, jim.cromie@xxxxxxxxx wrote:
> On Thu, Mar 19, 2026 at 10:14 AM Joe Perches <[joe@xxxxxxxxxxx](mailto:joe@xxxxxxxxxxx)> wrote:
> > On Thu, 2026-03-19 at 10:06 -0600, Jim Cromie wrote:
> > > This new option works as follows:
> > > git send-email --cc=$(scripts/get_maintainer.pl -cc 0*.patch) 0*.patch
> > I think this is not particularly useful.
> > Just use a script.

[1-3] remedied by script

> 4. Configuration Synergy: You can now set sendemail.cc =
> ./scripts/get_maintainer.pl in your .git/config. A shell wrapper can't
> easily override or
> augment the built-in recipient logic as cleanly as this does.
>
> That last point seems a clear win.
> Far less maintainer annoyance at not receiving the entire patchset.

That's not my experience.

This _will_ cc disinterested parties when there's a cover letter
for a large series.