summaryrefslogtreecommitdiffstats
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-11 22:49:12 +0200
committerJunio C Hamano <gitster@pobox.com>2023-04-11 22:49:12 +0200
commit647a2bb3ffc02ed06a36d6bae35e76004e9f97d7 (patch)
treed94be3a4473a648cd1f61727912f9fb1841c7cbc /git-send-email.perl
parentMerge branch 'ws/sparse-check-rules' (diff)
parente-mail workflow: Message-ID is spelled with ID in both capital letters (diff)
downloadgit-647a2bb3ffc02ed06a36d6bae35e76004e9f97d7.tar.xz
git-647a2bb3ffc02ed06a36d6bae35e76004e9f97d7.zip
Merge branch 'jc/spell-id-in-both-caps-in-message-id'
Consistently spell "Message-ID" as such, not "Message-Id". * jc/spell-id-in-both-caps-in-message-id: e-mail workflow: Message-ID is spelled with ID in both capital letters
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index 07f2a0cbea..fd8cd0d46f 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -1537,7 +1537,7 @@ sub send_message {
To: $to${ccline}
Subject: $subject
Date: $date
-Message-Id: $message_id
+Message-ID: $message_id
";
if ($use_xmailer) {
$header .= "X-Mailer: git-send-email $gitversion\n";
@@ -1832,7 +1832,7 @@ sub process_file {
$has_mime_version = 1;
push @xh, $_;
}
- elsif (/^Message-Id: (.*)/i) {
+ elsif (/^Message-ID: (.*)/i) {
$message_id = $1;
}
elsif (/^Content-Transfer-Encoding: (.*)/i) {