summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-05-23 23:26:00 +0000
committerAndreas Gruenbacher <agruen@suse.de>2005-05-23 23:26:00 +0000
commit886b6391181e178cf2fe5db6342f2b2f377f2a48 (patch)
tree159f4829f0a046e4d76816cbc70aa3d31bbdf631
parent7118177ee7f653e0639096cb4a81bc4cd00f82df (diff)
downloadquilt-886b6391181e178cf2fe5db6342f2b2f377f2a48.tar.gz
- quilt.quiltrc: A minor cleanup in quilt_mail_patch_filter().
-rw-r--r--quilt.changes5
-rw-r--r--quilt.quiltrc6
2 files changed, 8 insertions, 3 deletions
diff --git a/quilt.changes b/quilt.changes
index 8725846..753100d 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Tue May 24 01:25:30 CEST 2005 - agruen@suse.de
+
+- quilt.quiltrc: A minor cleanup in quilt_mail_patch_filter().
+
+-------------------------------------------------------------------
Sun May 22 18:15:52 CEST 2005 - agruen@suse.de
- setup command: When a patch cannot be identified, scan all the
diff --git a/quilt.quiltrc b/quilt.quiltrc
index 2240742..acb3eaa 100644
--- a/quilt.quiltrc
+++ b/quilt.quiltrc
@@ -39,13 +39,13 @@ quilt_mail_patch_filter() {
| sed -n -e "/${LOGNAME:-$(whoami)}@$(hostname -d)/d" \
-e 's/^\(To\|Cc\):/Recipient-\1:/ip' \
-e 's/^\(Signed-off-by\|Acked-by\):/Recipient-Cc:/ip' \
- -e 's/^Subject:/Replace-Subject:/p' \
+ -e 's/^Subject:/Replace-Subject:/ip' \
-e '/^\*\*\*\|---/q'
echo
# Discard the patch header, and pass on the rest
echo "$x" | awk '
- !in_body && (/^[-A-Za-z]+:/ || /^$/) { next }
- { in_body = 1 ; print }
+ in_body { print }
+ /^$/ { in_body = 1 }
'
}
EOF