Skip to content

Commit

Permalink
git-send-email.perl: Add angle brackets to In-Reply-To if necessary
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Kastrup authored and Junio C Hamano committed Sep 12, 2007
1 parent 060fe57 commit 3803bce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ sub expand_aliases {
} 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) {
Expand Down

0 comments on commit 3803bce

Please sign in to comment.