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

Re: [PATCH] git-commit: don't add multiple Signed-off-by: from the same identity

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 6, 2007, 18:11 UTC
Message-ID
<7vy7hte717.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070706144227.11736.qmail@046ba2bc1a0185.315fe32.mid.smarden.org>
If you are trying to avoid a run of Signed-off-by: lines like this:
	Signed-off-by: Original Author <oa@example.com>
	Signed-off-by: First Reviewer <fr@example.com>
	Signed-off-by: Second Reviewer <sr@example.com>
	Signed-off-by: Original Author <oa@example.com>
	Signed-off-by: Subsystem Integrator <si@example.com>
It is not a bug.  If the last signed-off-by is not from
yourself, your signed-off-by is added when you ask with "-s",
and this is very much intentionally done to follow the existing
practice of patch passing done in the kernel community, where
Signed-off-by: was invented (Linus or somebody from the kernel
circle can correct me if I am wrong).

When you are passing patches around, tweaks to the patch contents can be made. If your patch comes back to you from the second reviewer, it is not what you originally sent out. You would want to sign it off again.

We have deliberately excluded what your other patch tries to do for a reason. Even though these lines are not digitally signed, the intent of adding a Signed-off-by: line with your name is that you are certifying its origin, according to the definition of DCO (see Documentation/SubmittingPatches). This should be a conscious act from the signer's part, and making it automatic with a config variable that you set once and forget makes it much less meaningful.

        
        
Previous: Gerrit PapeNext: Gerrit Pape
Message 3 of 5 in “git-commit: don't add multiple Signed-off-by: from the same identity”
  1. git-commit: don't add multiple Signed-off-by: from the same identityGerrit Pape, Jul 6, 2007
  2. git-commit: add commit.signoff config optionGerrit Pape, Jul 6, 2007
  3. Junio C HamanoJul 6, 2007
  4. Gerrit PapeJul 8, 2007
  5. Junio C HamanoJul 8, 2007

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.