diff options
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | git-send-email.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index 76bb499fbb..e777bd3a60 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -505,7 +505,7 @@ sub parse_sendmail_alias { sub parse_sendmail_aliases { my $fh = shift; while (<$fh>) { - if (/^\s*(?:#.*)?$/) { next; } + next if /^\s*$/ || /^\s*#/; parse_sendmail_alias($_); } } |