X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-send-email.perl;h=d2fd89907688a044ffe0d2520744e00a9b33c942;hb=39702431500b76425f047209c9e9b2aae7e92b00;hp=6adb66947279e290d90be7da154f49e696894528;hpb=671d3220359145edd1002dc0afe76bc5782597f3;p=git.git diff --git a/git-send-email.perl b/git-send-email.perl index 6adb66947..d2fd89907 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -38,7 +38,7 @@ package main; sub usage { print <... +git send-email [options] ... Options: --from Specify the "From:" line of the email to be sent. @@ -882,7 +882,7 @@ foreach my $t (@files) { } elsif (/^Content-type:/i) { $has_content_type = 1; - if (/charset="?[^ "]+/) { + if (/charset="?([^ "]+)/) { $body_encoding = $1; } push @xh, $_;