diff options
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | git-send-email.perl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index dd7560b180..d8319d45fb 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -361,7 +361,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 (!defined $smtp_server) { |