summaryrefslogtreecommitdiffstats
path: root/quilt.quiltrc
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2006-01-29 22:19:40 +0000
committerAndreas Gruenbacher <agruen@suse.de>2006-01-29 22:19:40 +0000
commit3a595aa79ae4d4d2239ac0a596abe88c863f0289 (patch)
tree3cc3f4b0b4d91288b075dd0c838aab47c3db047c /quilt.quiltrc
parentf2be7b42347b1a1f83a1c827831df13cc2532c8e (diff)
downloadquilt-3a595aa79ae4d4d2239ac0a596abe88c863f0289.tar.gz
- quilt/mail.in:
+ Add -m and --prefix options so that the mail command can be used without invoking an editor. + Verify that each message generated will have a unique subject. + Verify that the introduction has a subject header. + Fix a bug in the heuristic for adding recipients. + Add a heuristic for extracting subject headers + Clarify some messages. + Add a test case. + Update the documentation.
Diffstat (limited to 'quilt.quiltrc')
-rw-r--r--quilt.quiltrc37
1 files changed, 0 insertions, 37 deletions
diff --git a/quilt.quiltrc b/quilt.quiltrc
index cc0a352..5855b88 100644
--- a/quilt.quiltrc
+++ b/quilt.quiltrc
@@ -21,40 +21,3 @@ QUILT_PATCHES_PREFIX=yes
# Use a specific editor for quilt (defaults to the value of $EDITOR before
# sourcing this configuration file, or vi if $EDITOR wasn't set).
#EDITOR=nedit
-
-# The following ``mail'' command filter recognizes the format we use for
-# kernel patches inside SUSE. The format is as follows (slightly
-# simplified; Signed-off-by and Acked-by lines optional):
-#
-# From: author@some.where
-# Subject: One-line summary
-#
-# Patch description
-#
-# Signed-off-by: reviewer@some.where
-# Acked-by: reviewer@some.where
-#
-# <<patch>>
-#
-# To enable, remove or comment out the lines above and below the function.
-
-: <<'EOF'
-quilt_mail_patch_filter() {
- local x=$(cat)
- # Replace subject with patch summary, add anybody in To or Cc
- # headers as recipients, and take all people in Signed-off-by
- # and Acked-by into the Cc (excluding myself).
- echo "$x" \
- | 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:/ip' \
- -e '/^\*\*\*\|---/q'
- echo
- # Discard the patch header, and pass on the rest
- echo "$x" | awk '
- in_body { print }
- /^$/ { in_body = 1 }
- '
-}
-EOF