diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-06-05 21:10:55 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-05 12:26:43 -0700 |
commit | 5e3ee39df2be5712dbff5a7cbca94d35ea56990c (patch) | |
tree | 42f7412bf84cc4b5419ef7aaaad9d0a074484821 /git-send-email.perl | |
parent | 5adcf2c69989884ad6c51df0f9ad5e68f6a3f650 (diff) | |
download | git-5e3ee39df2be5712dbff5a7cbca94d35ea56990c.tar.gz |
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>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | git-send-email.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index 70cad15ec4..d8344368b6 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -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; |