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

Re: [PATCH v2] commit: add commit.signoff config option

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 25, 2015, 16:01 UTC
Message-ID
<xmqq4mlv22we.fsf@gitster.dls.corp.google.com>
In-Reply-To
<CADstYCamTxaLnZeYUma6t=KP3Fx2rQH3svqgCYP4WpAR9k_USg@mail.gmail.com>
Caio Marcelo de Oliveira Filho <cmarcelo@gmail.com> writes:
> A similar concern probably applies to format.signOff option. Would
> be sufficient to add a note about conscious act (like
> format.signOff has) to the config description?

I am generally in negative on automating this. This is not just you but makes everybody else's S-o-b less and less meaningful ("Their tool have ways to add that string randomly, and many of these ways the user ends up adding that string without even conciously thinking what they are doing. Does that string even mean anything anymore?").

One solution might be to make this not a straight-forward boolean, but an option that superficially takes a string and treats one specific value as "true" and everything else as "false", e.g.

[commit]
    signoff = "I certify that all my work is licenseable under DCO"
I dunno.
Previous: Caio Marcelo de Oliveira FilhoNext: Matthieu Moy
Message 5 of 7 in “commit: add commit.signoff config option”
  1. commit: add commit.signoff config optionCaio Marcelo de Oliveira Filho, Jun 25, 2015
  2. Junio C HamanoJun 25, 2015
  3. Johannes LöthbergJun 25, 2015
  4. Caio Marcelo de Oliveira FilhoJun 25, 2015
  5. Junio C HamanoJun 25, 2015
  6. Matthieu MoyJun 25, 2015
  7. Torsten BögershausenJun 25, 2015

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.