send-email: drop noise comments which merely repeat what code says

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Eric Sunshine committed May 31, 2015 at 18:29 UTC 2cdaabb6f9294a6ee618abcd1d60a21569a1fd51
1 file changed -5
git-send-email.perl
-5
@@ -517,26 +517,21 @@ my %parse_alias = (
517 } },
518
519 sendmail => sub { my $fh = shift; while (<$fh>) {
520 - # ignore blank lines and comment lines
520 if (/^\s*(?:#.*)?$/) { }
521
523 - # warn on lines that contain quotes
522 elsif (/"/) {
523 print STDERR "warning: sendmail alias with quotes is not supported: $_\n";
524 }
525
528 - # warn on lines that continue
526 elsif (/^\s|\\$/) {
527 print STDERR "warning: sendmail continuation line is not supported: $_\n";
528 }
529
533 - # recognize lines that look like an alias
530 elsif (/^(\S+?)\s*:\s*(.+)$/) {
531 my ($alias, $addr) = ($1, $2);
532 $aliases{$alias} = [ split_addrs($addr) ];
533 }
534
539 - # warn on lines that are not recognized
535 else {
536 print STDERR "warning: sendmail line is not recognized: $_\n";
537 }}},