From 8e543d72d239ce5cd269f233df4a81a87c2de26d Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 5 Nov 2009 01:36:27 +0100 Subject: [PATCH] taskd/mail.sh: Nicer subject line, reindented unsubscribe instructions --- taskd/mail.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/taskd/mail.sh b/taskd/mail.sh index b045636..6d7ccfa 100755 --- a/taskd/mail.sh +++ b/taskd/mail.sh @@ -18,6 +18,7 @@ # * Default subject prefix is site name. # * Unsubscribe instructions in email footer. # * Default showrev includes gitweb link. +# * Nicer subject line. # ================= # # This hook is stored in the contrib/hooks directory. Your distribution @@ -212,7 +213,7 @@ generate_email_header() fi cat <<-EOF To: $recipients - Subject: ${emailprefix}$projectname $refname_type, $short_refname, ${change_type}d. $describe + Subject: ${emailprefix}$projectname $refname_type $short_refname ${change_type}d: $describe X-Git-Refname: $refname X-Git-Reftype: $refname_type X-Git-Oldrev: $oldrev @@ -232,8 +233,9 @@ generate_email_footer() cat <<-EOF - $cfg_name automatic notification. Contact project admin $projectowner if you want - to unsubscribe, or site admin $cfg_admin if you receive no reply. + $cfg_name automatic notification. Contact project admin $projectowner + if you want to unsubscribe, or site admin $cfg_admin if you receive + no reply. --${SPACE} $projectboth EOF -- 2.11.4.GIT