Skip to content

Commit e60f6d1

Browse files
avargitster
authored andcommitted
send-email: rename the @bcclist variable for consistency
The "to" and "cc" variables are named @initial_{to,cc}, let's rename this one to match them. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c573572 commit e60f6d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

git-send-email.perl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ sub format_2822_time {
169169
my $re_encoded_word = qr/=\?($re_token)\?($re_token)\?($re_encoded_text)\?=/;
170170

171171
# Variables we fill in automatically, or via prompting:
172-
my (@to,$no_to,@initial_to,@cc,$no_cc,@initial_cc,@bcclist,$no_bcc,@xh,
172+
my (@to,$no_to,@initial_to,@cc,$no_cc,@initial_cc,@initial_bcc,$no_bcc,@xh,
173173
$initial_in_reply_to,$reply_to,$initial_subject,@files,
174174
$author,$sender,$smtp_authpass,$annotate,$use_xmailer,$compose,$time);
175175

@@ -264,7 +264,7 @@ sub do_edit {
264264
"cc" => \@initial_cc,
265265
"cccmd" => \$cc_cmd,
266266
"aliasfiletype" => \$aliasfiletype,
267-
"bcc" => \@bcclist,
267+
"bcc" => \@initial_bcc,
268268
"suppresscc" => \@suppress_cc,
269269
"envelopesender" => \$envelope_sender,
270270
"confirm" => \$confirm,
@@ -374,7 +374,7 @@ sub read_config {
374374
"no-to" => \$no_to,
375375
"cc=s" => \@initial_cc,
376376
"no-cc" => \$no_cc,
377-
"bcc=s" => \@bcclist,
377+
"bcc=s" => \@initial_bcc,
378378
"no-bcc" => \$no_bcc,
379379
"chain-reply-to!" => \$chain_reply_to,
380380
"no-chain-reply-to" => sub {$chain_reply_to = 0},
@@ -922,7 +922,7 @@ sub expand_one_alias {
922922

923923
@initial_to = process_address_list(@initial_to);
924924
@initial_cc = process_address_list(@initial_cc);
925-
@bcclist = process_address_list(@bcclist);
925+
@initial_bcc = process_address_list(@initial_bcc);
926926

927927
if ($thread && !defined $initial_in_reply_to && $prompting) {
928928
$initial_in_reply_to = ask(
@@ -1345,7 +1345,7 @@ sub send_message {
13451345
}
13461346
@cc);
13471347
my $to = join (",\n\t", @recipients);
1348-
@recipients = unique_email_list(@recipients,@cc,@bcclist);
1348+
@recipients = unique_email_list(@recipients,@cc,@initial_bcc);
13491349
@recipients = (map { extract_valid_address_or_die($_) } @recipients);
13501350
my $date = format_2822_time($time++);
13511351
my $gitversion = '@@GIT_VERSION@@';

0 commit comments

Comments
 (0)