mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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
This commit is contained in:
@@ -1954,6 +1954,9 @@ sub pre_process_file {
|
||||
$in_reply_to = $1;
|
||||
}
|
||||
}
|
||||
elsif (/^Reply-To: (.*)/i) {
|
||||
$reply_to = $1;
|
||||
}
|
||||
elsif (/^References: (.*)/i) {
|
||||
if (!$initial_in_reply_to || $thread) {
|
||||
$references = $1;
|
||||
|
||||
Reference in New Issue
Block a user