aboutsummaryrefslogtreecommitdiffstats
path: root/log-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-12-16 10:47:19 +0900
committerJunio C Hamano <gitster@pobox.com>2023-04-03 08:55:43 -0700
commitba4324c4e1e32a28381ea1f4835b78e4c9d45575 (patch)
tree0661c607f484725a547b0fb1cdf81267f2886828 /log-tree.c
parentStart the 2.40 cycle (diff)
downloadgit-ba4324c4e1e32a28381ea1f4835b78e4c9d45575.tar.gz
git-ba4324c4e1e32a28381ea1f4835b78e4c9d45575.zip
e-mail workflow: Message-ID is spelled with ID in both capital letters
We used to write "Message-Id:" and "Message-ID:" pretty much interchangeably, and the header name is defined to be case insensitive by the RFCs, but the canonical form "Message-ID:" is used throughout the RFC documents, so let's imitate it ourselves. Signed-off-by: Junio C Hamano <gitster@pobox.com> Reviewed-by: Elijah Newren <newren@gmail.com>
Diffstat (limited to 'log-tree.c')
-rw-r--r--log-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log-tree.c b/log-tree.c
index 1dd5fcbf7b..bbaf26c6b6 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -440,7 +440,7 @@ void log_write_email_headers(struct rev_info *opt, struct commit *commit,
fprintf(opt->diffopt.file, "From %s Mon Sep 17 00:00:00 2001\n", name);
graph_show_oneline(opt->graph);
if (opt->message_id) {
- fprintf(opt->diffopt.file, "Message-Id: <%s>\n", opt->message_id);
+ fprintf(opt->diffopt.file, "Message-ID: <%s>\n", opt->message_id);
graph_show_oneline(opt->graph);
}
if (opt->ref_message_ids && opt->ref_message_ids->nr > 0) {