X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-send-email.perl;h=eb876f88ddec315991c2634a976eca8e5b99a1ba;hb=ed82edc402c271a707da632083f1f4c19155d573;hp=404095f258f1eafd8f247257c2416c9dba86364b;hpb=ffcc952b33575e28b971d63ba2b7e46b7726a257;p=git.git diff --git a/git-send-email.perl b/git-send-email.perl index 404095f25..eb876f88d 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -212,7 +212,7 @@ my $aliasfiletype = $repo->config('sendemail.aliasfiletype'); my %parse_alias = ( # multiline formats can be supported in the future mutt => sub { my $fh = shift; while (<$fh>) { - if (/^alias\s+(\S+)\s+(.*)$/) { + if (/^\s*alias\s+(\S+)\s+(.*)$/) { my ($alias, $addr) = ($1, $2); $addr =~ s/#.*$//; # mutt allows # comments # commas delimit multiple addresses