Skip to content

Specially handle trivial merge commits.

Neal H. Walfield requested to merge neal/issue-32 into main
  • A trivial merge commit is a merge commit that has two parents, and the content of the merge commit is identical to one of the parents.

    • Since we are trying to authenticate a version of the repository, if two commits (U and A) have identical content (modulo meta-data), and one of them is considered authenticated (A), then the content of the other commit (U) is by definition also authenticated even if U can't be authenticated.

    • Detect and handle this trivial case, which is sometimes (but not always!) created by GitHub's "Merge pull request" workflow.

    • See #32.

Merge request reports