Add an optional prefix to the PATCH subject when mailing.
[stgit] / templates / patchmail.tmpl
index 83cdf5c..b0df904 100644 (file)
@@ -1,10 +1,9 @@
-From: Your Name <your.name@yourcompany.com>
-To: Some Address <some.address@somelist.com>
-Cc: other.address@otherlist.com, other.person@othercompany.com
-Bcc: Your Name <your.name@yourcompany.com>
-Subject: [PATCH %(patchnr)s/%(totalnr)s] %(shortdescr)s
+From: %(maintainer)s
+Subject: [%(prefix)sPATCH%(version)s%(number)s] %(shortdescr)s
 Date: %(date)s
 %(endofheaders)s
+From: %(authname)s <%(authemail)s>
+
 %(longdescr)s
 ---