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

Re: Commit template

From
Sean <seanlkml@sympatico.ca>
Date
May 8, 2005, 19:57 UTC
Message-ID
<2095.10.10.10.24.1115582244.squirrel@linux1>
In-Reply-To
<1115580630.8949.27.camel@pegasus>
On Sun, May 8, 2005 3:30 pm, Marcel Holtmann said:
Hey Marcel,
> if you don't put any CG: lines in the commit template you screw up the
> look of the modified files list. So I propose to leave all the CG: lines
> additions as they are in cg-commit and only add the template in front of
> it.
Yes, but you're free to make it look however you like.  Here's a sample:
CG: -[DO NOT COMMIT!]-------------------------------------------
CG:
CG: Hey! You don't want to commit here, use a cloned repository!
CG:
and another:
CG: -[USB CHANGES REPO!]----------------------------------------
CG:
CG: Commit only USB changes here!
CG:
Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
CG:
CG:

The trailing CG: lines ensure that those added by cg-commit look okay. It's not perfect, but it's a nice feature.

Sean
Previous: Marcel HoltmannNext: Marcel Holtmann
Message 5 of 11 in “Commit template”
  1. SeanMay 8, 2005
  2. Marcel HoltmannMay 8, 2005
  3. SeanMay 8, 2005
  4. Marcel HoltmannMay 8, 2005
  5. SeanMay 8, 2005
  6. Marcel HoltmannMay 8, 2005
  7. SeanMay 8, 2005
  8. Petr BaudisMay 8, 2005
  9. Marcel HoltmannMay 8, 2005
  10. Petr BaudisMay 8, 2005
  11. Marcel HoltmannMay 8, 2005

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.