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

extracting to/cc addresses for stg mail

From
BHBjorn Helgaas <bjorn.helgaas@hp.com>
Date
Aug 1, 2008, 22:50 UTC
Message-ID
<200808011650.45915.bjorn.helgaas@hp.com>

I'm new to stg, so maybe I'm missing the easy way to do this. That said, I'd like to maintain "To:" fields in the patch description, like this:

  Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
  To: Andi Kleen <andi@firstfloor.org>
  Cc: Andrew Morton <akpm@linux-foundation.org>

"stg mail --auto" takes care of adding Andrew to the Cc list, but I have to manually deal with Andi.

I've been doing that by using "stg mail --auto -E" and manually moving the To: line to the top, but that's a hassle. I don't really want to use "stg mail --to=", because then I have to dig out the To: line contents first. I don't really want to use different template files, because I often have one-off self- contained patches that go different places.

Is there a way to make stg pay attention to my "To:" lines in the patch description? Or another way to accomplish this?

Bjorn
Next: Karl Hasselström
Message 1 of 3 in “extracting to/cc addresses for stg mail”
  1. Bjorn HelgaasAug 1, 2008
  2. Karl HasselströmAug 5, 2008
  3. Bjorn HelgaasAug 5, 2008

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.