documentation: use the word "index" in the git-add manual page
[gitweb.git] / git-send-email.perl
index eb876f88ddec315991c2634a976eca8e5b99a1ba..7c0c90bd21bbb009de81aa315bed1c947a32c423 100755 (executable)
@@ -561,7 +561,8 @@ sub send_message
                                        $subject = $1;
 
                                } elsif (/^(Cc|From):\s+(.*)$/) {
-                                       if ($2 eq $from) {
+                                       if (unquote_rfc2047($2) eq $from) {
+                                               $from = $2;
                                                next if ($suppress_from);
                                        }
                                        elsif ($1 eq 'From') {