Re: [PATCH 2/2] get_maintainer: ignore "my" e-mail address

From: Joe Perches
Date: Tue Nov 16 2021 - 18:14:42 EST


On Tue, 2021-11-16 at 22:34 +0100, Łukasz Stelmach wrote:
> Ignore one's own e-mail address given as a parameter to --ignore-me
> or in the EMAIL environment variable.

Why is this useful?

git send-email already supports this.

--suppress-cc=<category>
Specify an additional category of recipients to suppress the auto-cc of:

• author will avoid including the patch author

• self will avoid including the sender

--[no-]suppress-from
If this is set, do not add the From: address to the cc: list. Default is the value of sendemail.suppressFrom configuration value; if that
is unspecified, default to --no-suppress-from.