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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed May 9, 2019 at 13:48 UTC e60f6d13f3b04ee3a8aa50ed5a0b97d2fb58bad8
1 file changed +5 -5
git-send-email.perl
+5 -5
@@ -169,7 +169,7 @@ my $re_encoded_text = qr/[^? \000-\037\177-\377]+/;
169 my $re_encoded_word = qr/=\?($re_token)\?($re_token)\?($re_encoded_text)\?=/;
170
171 # 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,
173 $initial_in_reply_to,$reply_to,$initial_subject,@files,
174 $author,$sender,$smtp_authpass,$annotate,$use_xmailer,$compose,$time);
175
@@ -264,7 +264,7 @@ my %config_settings = (
264 "cc" => \@initial_cc,
265 "cccmd" => \$cc_cmd,
266 "aliasfiletype" => \$aliasfiletype,
267 - "bcc" => \@bcclist,
267 + "bcc" => \@initial_bcc,
268 "suppresscc" => \@suppress_cc,
269 "envelopesender" => \$envelope_sender,
270 "confirm" => \$confirm,
@@ -374,7 +374,7 @@ $rc = GetOptions(
374 "no-to" => \$no_to,
375 "cc=s" => \@initial_cc,
376 "no-cc" => \$no_cc,
377 - "bcc=s" => \@bcclist,
377 + "bcc=s" => \@initial_bcc,
378 "no-bcc" => \$no_bcc,
379 "chain-reply-to!" => \$chain_reply_to,
380 "no-chain-reply-to" => sub {$chain_reply_to = 0},
@@ -922,7 +922,7 @@ sub expand_one_alias {
922
923 @initial_to = process_address_list(@initial_to);
924 @initial_cc = process_address_list(@initial_cc);
925 -@bcclist = process_address_list(@bcclist);
925 +@initial_bcc = process_address_list(@initial_bcc);
926
927 if ($thread && !defined $initial_in_reply_to && $prompting) {
928 $initial_in_reply_to = ask(
@@ -1345,7 +1345,7 @@ sub send_message {
1345 }
1346 @cc);
1347 my $to = join (",\n\t", @recipients);
1348 - @recipients = unique_email_list(@recipients,@cc,@bcclist);
1348 + @recipients = unique_email_list(@recipients,@cc,@initial_bcc);
1349 @recipients = (map { extract_valid_address_or_die($_) } @recipients);
1350 my $date = format_2822_time($time++);
1351 my $gitversion = '@@GIT_VERSION@@';