send-email: fix style: cuddle 'elsif' and 'else' with closing brace

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Eric Sunshine 2015-05-31 18:29:26 -04:00 committed by Junio C Hamano
parent 2cdaabb6f9
commit 22e3b46ff9

View File

@ -517,22 +517,15 @@ my %parse_alias = (
} },
sendmail => sub { my $fh = shift; while (<$fh>) {
if (/^\s*(?:#.*)?$/) { }
elsif (/"/) {
if (/^\s*(?:#.*)?$/) {
} elsif (/"/) {
print STDERR "warning: sendmail alias with quotes is not supported: $_\n";
}
elsif (/^\s|\\$/) {
} elsif (/^\s|\\$/) {
print STDERR "warning: sendmail continuation line is not supported: $_\n";
}
elsif (/^(\S+?)\s*:\s*(.+)$/) {
} elsif (/^(\S+?)\s*:\s*(.+)$/) {
my ($alias, $addr) = ($1, $2);
$aliases{$alias} = [ split_addrs($addr) ];
}
else {
} else {
print STDERR "warning: sendmail line is not recognized: $_\n";
}}},