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

Re: [PATCH] Trim hint printed when gecos is empty.

From
APAndy Parkins <andyparkins@gmail.com>
Date
Nov 28, 2006, 11:46 UTC
Message-ID
<200611281146.56201.andyparkins@gmail.com>
In-Reply-To
<ekh5k8$vih$1@sea.gmane.org>
On Tuesday 2006 November 28 11:15, Jakub Narebski wrote:
> Yes. You are supposed to add Signed-off-by on commit (I hope that
> git-format-patch doesn't dulicate signoff lines), using git-commit -s.
> But perhaps a config option...
I achieve reasonable results by having the following in my .git/config
[format]                                                                                                                                                              
    headers = "To: git@vger.kernel.org\n"                                                                                                                             
                                                                                                                                                                      
[alias]                                                                                                                                                               
    email=format-patch --signoff --stdout                                                                                                                             

By tuning this per-project I know that a "git email" will generate the correct sort of patch for this project.

The thing that's missing is a config option to make git-commit add the signoff automatically. I think this would be useful, as "signing off" is probably a per-project decision rather than a per-commit decision. It seems awkward to require the user to remember what the project policy is and always get the right git-commit for each project.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
Previous: Jakub NarebskiNext: Johannes Schindelin
Message 4 of 11 in “Trim hint printed when gecos is empty.”
  1. Trim hint printed when gecos is empty.Han-Wen Nienhuys, Nov 28, 2006
  2. Han-Wen NienhuysNov 28, 2006
  3. Jakub NarebskiNov 28, 2006
  4. Andy ParkinsNov 28, 2006
  5. Johannes SchindelinNov 28, 2006
  6. Andy ParkinsNov 28, 2006
  7. Johannes SchindelinNov 28, 2006
  8. Andy ParkinsNov 28, 2006
  9. Shawn PearceNov 28, 2006
  10. Junio C HamanoNov 28, 2006
  11. Johannes SchindelinNov 29, 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.