From 3803bceae84fe122eccb49e3096abead508cde8f Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Wed, 12 Sep 2007 07:53:45 +0200 Subject: [PATCH] git-send-email.perl: Add angle brackets to In-Reply-To if necessary Although message-id by defintion should have surrounding angle brackets, there is no point forcing people to type them in. Signed-off-by: David Kastrup Signed-off-by: Junio C Hamano --- git-send-email.perl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git-send-email.perl b/git-send-email.perl index e0b7d1245..195fe6f70 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -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+?\s+$/>/; } if (!$smtp_server) { -- 2.30.2