Re: email as a bona fide git transport

Konstantin Ryabitsev
2019-10-18T01:54:52Z

On Thu, Oct 17, 2019 at 06:30:29PM -0700, Greg KH wrote:
>> It could only possibly work if nobody ever adds their own
>> "Signed-Off-By" or
>> any other bylines. I expect this is a deal-breaker for most maintainers.
>
>Yeah it is :(
>
>But, if we could just have the signature on the code change, not the
>changelog text, that would help with that issue.

We totally should, and I even mused on how we would do that here:
https://public-inbox.org/git/20190910121324.GA6867@pure.paranoia.local/

However, since git's PGP signatures are made for the content in the
actual commit record (tree hash, parent, author, commit message, etc),
the only way we could preserve them between the email and the git tree
is if we never modify any of that data. The SOB and other trailers would
have to only be applied to the merge commit, or migrate into commit
notes.

-K