git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: stgit: stg mail

From
CMCatalin Marinas <catalin.marinas@arm.com>
Date
Dec 12, 2006, 12:32 UTC
Message-ID
<tnxejr5wb00.fsf@arm.com>
In-Reply-To
<7ac1e90c0612120412i1297ce05uecbeea1107b8c704@mail.gmail.com>
"Bahadir Balban" <bahadir.balban@gmail.com> wrote:
Show 9 quoted lines
> 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.

Previous: Bahadir Balban
Message 2 of 2 in “stgit: stg mail”
  1. Bahadir BalbanDec 12, 2006
  2. Catalin MarinasDec 12, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.