Only create a 'From: author' line if needed
[stgit] / templates / patchmail.tmpl
index 83cdf5c..69b4b26 100644 (file)
@@ -1,11 +1,7 @@
-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
-Date: %(date)s
-%(endofheaders)s
-%(longdescr)s
+From: %(maintainer)s
+Subject: [%(prefix)sPATCH%(version)s%(number)s] %(shortdescr)s
+
+%(fromauth)s%(longdescr)s
 ---
 
 %(diffstat)s