diff options
-rw-r--r-- | quilt.changes | 5 | ||||
-rw-r--r-- | quilt.quiltrc | 6 |
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 |