Re: [PATCH] scripts: get_maintainer: add an option to format for command line
From: Joe Perches
Date: Sat Apr 23 2022 - 15:03:01 EST
On Sat, 2022-04-23 at 14:55 -0400, Ian Cowan wrote:
> This adds the option to return the list of maintainers in the format for
> sending via command line, specifically targeted for `git send-email`.
> This will add a `--to` tag before the first email and a `--cc` tag for
> each following email. The option can be toggled by using the
> `--cl-format` flag when calling the get_maintainer script.
>
> The new addition is disabled by default and will only print (even if
> enabled) if there are maintainers to return. This will prevent the
> script from trying to generate a formatted line without any maintainers
> and also allow the user to visually verify that the outputted line contains
> the correct maintainers and lists (by verifying the roles).
nack.
get_maintainers does not need to be the be-all/end-all script
for every purpose.
Try adding wrapper scripts instead.
I use something like this:
https://lore.kernel.org/lkml/1473862411.32273.25.camel@xxxxxxxxxxx/