]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-send-email.perl
t9001-send-email: refactor header variable fields replacement
[thirdparty/git.git] / git-send-email.perl
index e1e9b1460ced5f660b32796890df7336bc3d01af..0cac4b0077b9211d1759f4ba9a66dd98c716ebc5 100755 (executable)
@@ -1535,7 +1535,9 @@ foreach my $t (@files) {
                ($confirm =~ /^(?:auto|compose)$/ && $compose && $message_num == 1));
        $needs_confirm = "inform" if ($needs_confirm && $confirm_unconfigured && @cc);
 
+       @to = expand_aliases(@to);
        @to = validate_address_list(sanitize_address_list(@to));
+       @cc = expand_aliases(@cc);
        @cc = validate_address_list(sanitize_address_list(@cc));
 
        @to = (@initial_to, @to);