Skip to content

Should commit-diff sign the diff to the first parent? #14

Open
@Ekleog

Description

@Ekleog

commit abcdef diff is currently defined as signing the diff with “the” parent.

However, a commit can have multiple parents. So when signing a merge commit, do you think this should mean:

  1. Signing the whole diff introduced by the merge commit into the first-parent, thus reducing the number of signatures that need to be checked
  2. Signing the diff between the result of an automatic merge (including merge conflicts), thus making a merge commit easier to sign

I'm personally in favor of option 1. And you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-implNeeds someone to actually write the spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions