mirror of
https://github.com/git/git.git
synced 2025-04-17 22:16:01 +00:00
send-email: fix suppress-cc=self on cccmd
When cccmd is used, old-style suppress-from filter is applied by the newer suppress-cc=self isn't. Fix this up. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
5adcf2c699
commit
5e3ee39df2
@ -1446,7 +1446,7 @@ sub recipients_cmd {
|
||||
$address =~ s/^\s*//g;
|
||||
$address =~ s/\s*$//g;
|
||||
$address = sanitize_address($address);
|
||||
next if ($address eq $sanitized_sender and $suppress_from);
|
||||
next if ($address eq $sanitized_sender and $suppress_cc{'self'});
|
||||
push @addresses, $address;
|
||||
printf("($prefix) Adding %s: %s from: '%s'\n",
|
||||
$what, $address, $cmd) unless $quiet;
|
||||
|
Loading…
x
Reference in New Issue
Block a user