Merge branch 'jh/send-email-one-cc'
[git/git.git] / git-send-email.perl
index 068d60b..eea0a51 100755 (executable)
@@ -1563,7 +1563,7 @@ foreach my $t (@files) {
        # Now parse the message body
        while(<$fh>) {
                $message .=  $_;
-               if (/^(Signed-off-by|Cc): (.*)$/i) {
+               if (/^(Signed-off-by|Cc): ([^>]*>?)/i) {
                        chomp;
                        my ($what, $c) = ($1, $2);
                        chomp $c;