Skip to content

Commit d235f69

Browse files
committed
Merge branch 'nb/send-email-no-dup-reply-to'
"git send-email --compose --reply-to=<address>" used to add duplicated Reply-To: header, which made mailservers unhappy. This has been corrected. * nb/send-email-no-dup-reply-to: send-email: don't duplicate Reply-to: in intro message
2 parents 347af01 + f448f65 commit d235f69

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-send-email.perl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,6 +1954,9 @@ sub pre_process_file {
19541954
$in_reply_to = $1;
19551955
}
19561956
}
1957+
elsif (/^Reply-To: (.*)/i) {
1958+
$reply_to = $1;
1959+
}
19571960
elsif (/^References: (.*)/i) {
19581961
if (!$initial_in_reply_to || $thread) {
19591962
$references = $1;

0 commit comments

Comments
 (0)