Merge branch 'dd/send-email-reedit'
[gitweb.git] / git-send-email.perl
index b45953733a3ed253055d4af340a45c1d259c4ae3..8ec70e58ed5c4caace7701549038b63f9a3e9aad 100755 (executable)
@@ -1654,10 +1654,15 @@ sub process_file {
                        elsif (/^Content-Transfer-Encoding: (.*)/i) {
                                $xfer_encoding = $1 if not defined $xfer_encoding;
                        }
+                       elsif (/^In-Reply-To: (.*)/i) {
+                               $in_reply_to = $1;
+                       }
+                       elsif (/^References: (.*)/i) {
+                               $references = $1;
+                       }
                        elsif (!/^Date:\s/i && /^[-A-Za-z]+:\s+\S/) {
                                push @xh, $_;
                        }
-
                } else {
                        # In the traditional
                        # "send lots of email" format,