Code

documentation: replace Discussion section by link to user-manual chapter
[git.git] / git-send-email.perl
index e0b7d1245eb78b2a74d9de3e86154ebe93f93ca4..195fe6f70a3a13c17b67ad8d067e8e0ff4cc9195 100755 (executable)
@@ -317,7 +317,8 @@ if ($thread && !defined $initial_reply_to && $prompting) {
        } while (!defined $_);
 
        $initial_reply_to = $_;
-       $initial_reply_to =~ s/(^\s+|\s+$)//g;
+       $initial_reply_to =~ s/^\s+<?/</;
+       $initial_reply_to =~ s/>?\s+$/>/;
 }
 
 if (!$smtp_server) {