Browse Source

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 <dak@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
David Kastrup 18 years ago committed by Junio C Hamano
parent
commit
3803bceae8
  1. 3
      git-send-email.perl

3
git-send-email.perl

@ -317,7 +317,8 @@ if ($thread && !defined $initial_reply_to && $prompting) { @@ -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) {

Loading…
Cancel
Save