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

Re: format-patch signoff argument no longer works

From
Seth Falcon <sethfalcon@gmail.com>
Date
May 31, 2006, 13:58 UTC
Message-ID
<m2mzcycn4f.fsf@ziti.fhcrc.org>
In-Reply-To
<20060531112803.GB3877@spinlock.ch>
Matthias Kestenholz <lists@spinlock.ch> writes:
Show 5 quoted lines
> * Geoff Russell (geoffrey.russell@gmail.com) wrote:
>> It appears to have got lost when the shell script got converted to C.
>> 
> Yes, this was intentional. You should sign off your changes while
> committing (git commit -s|--signoff)
When should one commit _without_ signoff?  

The obvious answer is: when one doesn't approve of the changes in the commit... But in my usual workflow, commit means works-for-me-I-think-it-is-good. :-)

Also, here's a trivial patch to the git-format-patch doc. I recently had the same confusion trying to get git-format-patch to add signoff for me...

Remove reference to signoff option (-s) in git-format-patch
Signed-off-by: Seth Falcon <sethfalcon@gmail.com>
---
 Documentation/git-format-patch.txt |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index 7cc7faf..d13f463 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -9,7 +9,7 @@ git-format-patch - Prepare patches for e
 SYNOPSIS
 --------
 [verse]
-'git-format-patch' [-n | -k] [-o <dir> | --stdout] [--attach] [-s] [-c]
+'git-format-patch' [-n | -k] [-o <dir> | --stdout] [--attach] [-c]
                 [--diff-options] <his> [<mine>]
 
 DESCRIPTION
@@ -44,10 +44,6 @@ OPTIONS
        Do not strip/add '[PATCH]' from the first line of the
        commit log message.
 
--s|--signoff::
-       Add `Signed-off-by:` line to the commit message, using
-       the committer identity of yourself.
-
 -c|--check::
         Display suspicious lines in the patch.  The definition
         of 'suspicious lines' is currently the lines that has
-- 
1.3.3.gb931
Previous: Matthias KestenholzNext: Johannes Schindelin
Message 3 of 15 in “format-patch signoff argument no longer works”
  1. Geoff RussellMay 31, 2006
  2. Matthias KestenholzMay 31, 2006
  3. Seth FalconMay 31, 2006
  4. Johannes SchindelinMay 31, 2006
  5. Junio C HamanoMay 31, 2006
  6. J. Bruce FieldsMay 31, 2006
  7. Seth FalconMay 31, 2006
  8. format-patch --signoffJunio C Hamano, May 31, 2006
  9. Johannes SchindelinMay 31, 2006
  10. Junio C HamanoMay 31, 2006
  11. Johannes SchindelinMay 31, 2006
  12. Update documentation for git-format-patchDennis Stosberg, May 31, 2006
  13. Johannes SchindelinMay 31, 2006
  14. Jakub NarebskiMay 31, 2006
  15. Dennis StosbergMay 31, 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.