summaryrefslogtreecommitdiffstats
path: root/quilt/mail.in
diff options
context:
space:
mode:
Diffstat (limited to 'quilt/mail.in')
-rw-r--r--quilt/mail.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/quilt/mail.in b/quilt/mail.in
index d2c231b..1707b34 100644
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -257,6 +257,8 @@ if [ "$(type -t quilt_mail_patch_filter 2> /dev/null)" != function ]; then
return 1
fi
+ mh[0]=$(echo "${mh[0]}" | sed -e $'s/\\[patch\\][ \t]*//i')
+
# Add recipients defined by some recognized keywords
local saved_IFS=$IFS; IFS=$'\n'
mh=( "${mh[@]}"