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