Re-fix rev-list-options documentation
[gitweb.git] / git-send-email.perl
index ec69c237f9a5dede0227d986be703aaddf5c4acf..385ff7c2197f02207bfa56e2a9b6ec557fbfe0cc 100755 (executable)
@@ -442,7 +442,7 @@ sub read_config {
        }
 
        my $to = $_;
-       push @to, split /,/, $to;
+       push @to, split /,\s*/, $to;
        $prompting++;
 }
 
@@ -850,7 +850,7 @@ sub send_message
                                }
                                elsif (/^Content-type:/i) {
                                        $has_content_type = 1;
-                                       if (/charset="?[^ "]+/) {
+                                       if (/charset="?([^ "]+)/) {
                                                $body_encoding = $1;
                                        }
                                        push @xh, $_;