summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quilt.changes6
-rw-r--r--quilt/mail.in7
2 files changed, 11 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes
index 1984631..047c863 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Fri Aug 10 15:40:31 CEST 2007 - agruen@suse.de
+
+- quilt mail: only add a "-- " at the end of messages if it is
+ actually followed by a signature.
+
+-------------------------------------------------------------------
Fri Aug 10 15:16:12 CEST 2007 - agruen@suse.de
- quilt mail: Add a --reply-to <message> option which adds the
diff --git a/quilt/mail.in b/quilt/mail.in
index fbb42cc..24bbe48 100644
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -465,8 +465,11 @@ introduction="$(gen_tempfile)"
echo "$opt_message"
echo
fi
- echo "-- "
- [ -r $HOME/.signature ] && cat $HOME/.signature
+ if [ -r $HOME/.signature ]
+ then
+ echo "-- "
+ cat $HOME/.signature
+ fi
) | $QUILT_DIR/scripts/edmail --charset $opt_charset > $introduction
if [ -z "$opt_message" ]