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

Re: git am and duplicate signatures

From
Joe Perches <joe@perches.com>
Date
Aug 30, 2016, 17:26 UTC
Message-ID
<1472577999.5512.107.camel@perches.com>
In-Reply-To
<xmqqwpiy5haf.fsf@gitster.mtv.corp.google.com>
On Tue, 2016-08-30 at 09:54 -0700, Junio C Hamano wrote:
Show 5 quoted lines
> Support for more generic footers was supposed to come when the
> "interpret-trailers" topic started, but the author of the topic
> seems to have lost interest before the mechanism has become ready to
> be integrated in the workflow commands like "am", "commit", "rebase"
> etc., which is unfortunate.
I think adding at least an option to git send-email
allowing auto-cc's for all
	"<foo>-by: [name] <address>"
lines in the commit log would be useful.

Today, only "Signed-off-by" and "CC" lines are added to cc's.

I've always called these lines "<foo>-by:" lines "signatures", but perhaps there's a better name.

Any preference?
from git send-email --help
       --suppress-cc=<category>
           Specify an additional category of recipients to suppress the
           auto-cc of:
           ·   author will avoid including the patch author
           ·   self will avoid including the sender
           ·   cc will avoid including anyone mentioned in Cc lines in the
               patch header except for self (use self for that).
           ·   bodycc will avoid including anyone mentioned in Cc lines in the
               patch body (commit message) except for self (use self for
               that).
           ·   sob will avoid including anyone mentioned in Signed-off-by
               lines except for self (use self for that).
           ·   cccmd will avoid running the --cc-cmd.
           ·   body is equivalent to sob + bodycc
           ·   all will suppress all auto cc values.
Show 7 quoted lines
> > 
> > sequencer.c:append_signoff() has a flag for APPEND_SIGNOFF_DEDUP
> Yes, I think this is one of the warts we talked about getting rid of
> but haven't got around to it.  It is there because "format-patch -s"
> was incorrectly written to dedup Signed-off-by: from anywhere in its
> early implementation and to keep the same behaviour.  We should drop
> that flag from append_signoff() function.
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 11 in “git am and duplicate signatures”
  1. Joe PerchesAug 30, 2016
  2. Junio C HamanoAug 30, 2016
  3. Joe PerchesAug 30, 2016
  4. Junio C HamanoAug 30, 2016
  5. Joe PerchesAug 30, 2016
  6. Junio C HamanoAug 30, 2016
  7. Joe PerchesAug 30, 2016
  8. Joe PerchesAug 30, 2016
  9. Junio C HamanoAug 30, 2016
  10. Joe PerchesAug 30, 2016
  11. Junio C HamanoAug 30, 2016

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.