Thread (1 message) 1 message, 1 author, 2016-08-11
  • (off-list ancestor, not in this archive)
  • Re: stgit: stg mail · Catalin Marinas <catalin.marinas@arm.com> · 2016-08-11

Re: stgit: stg mail

flat view

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2016-08-11 20:19:03

"Bahadir Balban" [off-list ref] wrote:
I couldn't succeed in getting stg mail produce an mbox file with a
Signed-off-by line (using stgit 0.11).

stg mail -m --to=user@mail.com patchname > patchname.diff

works OK. If I add the template with Signed-off-by I get:

stg mail -m --to=user@mail.com -t ~/patch.tmpl patchname > patchname.diff
stg mail: No "From" address
Your template is wrong since it doesn't have a "From:" line. You would
have to use the templates/patchmail.tmpl as a starting point.

BTW, I prefer to add the "signed-off-by" line in the patch description
rather than automatically (blindly) append it to every e-mailed patch.

-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help