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

Re: "format-patch" command doesn't support SSH signing

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 23, 2021, 16:14 UTC
Message-ID
<nycvar.QRO.7.76.6.2111231712510.63@tvgsbejvaqbjf.bet>
In-Reply-To
<710dc612-0e3f-bf10-b123-f9443e605d00@gmail.com>
Hi Marcos,
On Tue, 23 Nov 2021, Marcos Alano wrote:
> I was trying to generate a patch to send to a project (Linux specifically) but
> when I generate the patch using "format-patch" I saw there was no "Signed-Off"
> line, but my commit is signed using SSH. My git version is the latest, 2.34.

A "Sign-off" is a convention for the commit message, but _signing a commit_ is a cryptographic signature. They are two different things.

You can add the "Signed-off-by:" trailers via `git format-patch`'s `--signoff` option: https://git-scm.com/docs/git-format-patch#Documentation/git-format-patch.txt---signoff

Ciao, Johannes

Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 3 of 4 in “"format-patch" command doesn't support SSH signing”
  1. Marcos AlanoNov 23, 2021
  2. Ævar Arnfjörð BjarmasonNov 23, 2021
  3. Johannes SchindelinNov 23, 2021
  4. Junio C HamanoNov 24, 2021

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.