git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Author signature
@ 2024-05-14 18:31 Dimitri Sabadie
  2024-05-14 19:51 ` brian m. carlson
  0 siblings, 1 reply; 6+ messages in thread
From: Dimitri Sabadie @ 2024-05-14 18:31 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 1639 bytes --]

Hello!

I’ve moved away from the PR/MR git workflow to the email one and I’ve
been delighted by it. However, there is one thing that feels a bit like
a regression to me.

On the PR/MR workflow, if someone wants to contribute to my project,
they can simply make a couple of commits and open a “Pull Request” or
“Merge Request.” Once reviewed, I can decide to merge via several
options:

* Creating a merge commit.
* Rebasing their commits.
* Asking the UI of the (centralized) system (GitHub, GitLab, etc.) to do

Whatever is decided, the commits end up in my repository and the author
might have signed the commits and their signature is still there.

With the email workflow, from what I understand, `git am` has no way to
keep the signature of the author — and I have not found anything going
that direction with `git send-email` and `git format-patch`, and I think
that the reason why is because the commit is modified to introduce the
committer (committer being me here; the author being the contributor who
sent the patch), whence the commit SHA changes. The author signature is
simply dropped, and `git log --show-signature` only shows my GPG
signature; not the author’s anymore!

So… I was wondering: since we can only sign commits, is there any
way / work in progress to attach the author signature to a commit? To
me, it would make sense to have something hierarchical: the comitter
simply signs above what the author signed, and the author doesn’t sign
the whole commit (I guess?), since we want to be able to change the
commit hash.

What do you think?

Cheers,
Dimitri

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-04 15:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-14 18:31 Author signature Dimitri Sabadie
2024-05-14 19:51 ` brian m. carlson
2024-05-14 20:03   ` Konstantin Ryabitsev
2024-05-14 20:05     ` Konstantin Ryabitsev
2024-06-04 12:50       ` Dimitri Sabadie
2024-06-04 13:12         ` Konstantin Ryabitsev

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 NNTP newsgroup(s).