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

stGIT: commit vs export vs mail

From
JBJesse Brandeburg <jesse.brandeburg@intel.com>
Date
Feb 17, 2006, 21:09 UTC
Message-ID
<Pine.WNT.4.63.0602171139020.3052@jbrandeb-desk.amr.corp.intel.com>

So I am using stgit .8 right now, and I'm having a hard time figuring out what the correct workflow should be for using stg and then committing a change

Here is what I've been doing:
stg new test
  enter my short description on first line
  enter my long description on next lines.
vi file
stg refresh
stg mail <blah blah blah>
or
stg commit

Problem that I'm having right now is that the templates do the right thing for mail, but, the commit only puts in the "enter my..." text.

Is there a template based way to automatically append the author in the 
Signed-off-by: line when i do stg commit?

I realize that I could put Signed-off-by in the log by hand (or even in .git/patchdescr.tmpl which i just found) but it would be cool if the commit just had something like patchmail.tmpl (maybe call it commitdescr.tmpl or something?)

thanks for any opinions or instruction.
Jesse
Next: Catalin Marinas
Message 1 of 4 in “stGIT: commit vs export vs mail”
  1. Jesse BrandeburgFeb 17, 2006
  2. Catalin MarinasFeb 17, 2006
  3. Jesse BrandeburgFeb 18, 2006
  4. Catalin MarinasFeb 18, 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.