git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Marcos Alano <marcoshalano@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: "format-patch" command doesn't support SSH signing
Date: Tue, 23 Nov 2021 17:14:27 +0100 (CET)	[thread overview]
Message-ID: <nycvar.QRO.7.76.6.2111231712510.63@tvgsbejvaqbjf.bet> (raw)
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

  parent reply	other threads:[~2021-11-23 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-23 13:04 "format-patch" command doesn't support SSH signing Marcos Alano
2021-11-23 16:02 ` Ævar Arnfjörð Bjarmason
2021-11-23 16:14 ` Johannes Schindelin [this message]
2021-11-24  0:49 ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.QRO.7.76.6.2111231712510.63@tvgsbejvaqbjf.bet \
    --to=johannes.schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=marcoshalano@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).