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

Re: [PATCH] commit: Add commit.signoff configuration option

From
Chris Down <chris@chrisdown.name>
Date
Jun 3, 2025, 06:54 UTC
Message-ID
<aD6cJxFXdGfN2XGc@chrisdown.name>
In-Reply-To
<aCdT-UQtaaTQ8gyD@chrisdown.name>
Hi Junio,

I wanted to follow up on the point around repository specificity, since that seems pretty key to the discussion here.

Looking at public dotfiles, many users already work around this with global shell aliases for "commit --signoff". This creates the exact problem (I believe?) you're concerned about: casual, low intent signoffs without deliberate per-repository intent to certify anything.

A repository specific commit.signoff would be more precise than the current workarounds, since it would require explicit configuration per repository rather than blanket global behavior or muscle memory.

Would only allowing using this flag in a repository context (and not the global git config) allay your concerns?

Thanks,
Chris
Previous: Chris DownNext: Junio C Hamano
Message 9 of 14 in “commit: Add commit.signoff configuration option”
  1. commit: Add commit.signoff configuration optionChris Down, May 13, 2025
  2. Kristoffer HaugsbakkMay 13, 2025
  3. D. Ben KnobleMay 13, 2025
  4. Chris DownMay 14, 2025
  5. Junio C HamanoMay 15, 2025
  6. Chris DownMay 15, 2025
  7. Junio C HamanoMay 16, 2025
  8. Chris DownMay 16, 2025
  9. Chris DownJun 3, 2025
  10. Junio C HamanoJun 4, 2025
  11. Collin FunkJun 5, 2025
  12. Chris DownJun 9, 2025
  13. Ben KnobleMay 16, 2025
  14. Chris DownMay 16, 2025

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.