[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [PATCH] mail: Unbreak threading
From: |
Thomas Gleixner |
Subject: |
[Quilt-dev] [PATCH] mail: Unbreak threading |
Date: |
Mon, 4 Jun 2018 22:16:50 +0200 (CEST) |
User-agent: |
Alpine 2.21 (DEB 202 2017-01-01) |
The Message-ID extraction from the cover letter fails because the message
generator uses 'Message-Id' while the extraction uses 'Message-ID'. formail
did not care, but the extraction sed magic cares. As a consequence
threading of the mails is broken.
Use 'Message-ID' consistently all over the place.
Fixes: 1d659bebaf3d ("quilt/mail: Remove procmail dependency")
Signed-off-by: Thomas Gleixner <address@hidden>
---
quilt/mail.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -504,7 +504,7 @@ fi
introduction="$(gen_tempfile)"
(
cat <<-EOF
- Message-Id: <$(msgid)>
+ Message-ID: <$(msgid)>
User-Agent: quilt/@VERSION@
Date: $(date --rfc-822)
From: ${opt_from:-$opt_sender}
@@ -628,7 +628,7 @@ for patch in "address@hidden"; do
# Make pipes fail if any of their commands fail (requires bash 3):
set -o pipefail
- ( ( echo "Message-Id: <$(msgid)>"
+ ( ( echo "Message-ID: <$(msgid)>"
awk '
/^$/ { exit }
tolower($0) !~ /^(message-id|references|in-reply-to):/ \
- [Quilt-dev] [PATCH] mail: Unbreak threading,
Thomas Gleixner <=