Package: quilt / 0.65-3

fix-mail-threading Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: 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
 .
 This is a cherry-pick from upstream:
 http://git.savannah.nongnu.org/cgit/quilt.git/commit/?id=360b85e1f6b6d1aff5ada942fcee816e1ad7a13c
Origin: vendor
Bug-Debian: https://bugs.debian.org/900784
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -95,7 +95,7 @@
 
       # Long Header Fields may span multiple lines, in which case CRLF
       # is followed by space or tab (RFC 2822)
-      sed -n "/^${header}/,/^[^[:blank:]]/ { /^${header}/ { s/^${header}//p; n; }; /^[^[:blank:]]/q; /^$/q; p; }"
+      sed -ne "/^${header}/I,/^[^[:blank:]]/ { /^${header}/I { s/^${header}//I; p; n; }; /^[^[:blank:]]/q; /^$/q; p; }"
 }
 
 # See RFC 2822 Internet Message Format for how the In-Reply-To and