git-grep: update tests now regexp type is "last one wins"
[gitweb.git] / git-send-email.perl
index 6e2d79ac661e3f31926c07291eddd953e0446cef..76565de2ee517f48001ffacca32e3c08320cfe38 100755 (executable)
@@ -1319,7 +1319,8 @@ sub send_message {
 
        # set up for the next message
        if ($thread && $message_was_sent &&
-               (chain_reply_to() || !defined $reply_to || length($reply_to) == 0)) {
+               (chain_reply_to() || !defined $reply_to || length($reply_to) == 0 ||
+               $message_num == 1)) {
                $reply_to = $message_id;
                if (length $references > 0) {
                        $references .= "\n $message_id";