quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] [PATCH] mail: Unbreak threading


From: Andreas Grünbacher
Subject: Re: [Quilt-dev] [PATCH] mail: Unbreak threading
Date: Mon, 4 Jun 2018 23:01:12 +0200

Hi Thomas,

2018-06-04 22:16 GMT+02:00 Thomas Gleixner <address@hidden>:
> 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):/ \

your patch improves consistency so it's good in any case, but your
verson of quilt seems to be missing the following commit:

commit 360b85e1f6b6d1aff5ada942fcee816e1ad7a13c
Author: Jean Delvare <address@hidden>
Date:   Fri Apr 14 09:07:51 2017 +0200

    mail: Fix patch set threading

    Let patches reference the introduction message so that the patch set
    is properly threaded by MUA. This used to work but was broken by
    accident.

    This fixes bug #50775:
    https://savannah.nongnu.org/bugs/index.php?50775

    Signed-off-by: Jean Delvare <address@hidden>
    Fixes: 1d659bebaf3d ("quilt/mail: Remove procmail dependency")
    Tested-by: Okash Khawaja <address@hidden>
    Acked-by: Kent R. Spillner <address@hidden>

The last release, quilt 0.65, predates this fix. Jean, release?

Thanks,
Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]