Skip to content

Force pushes use the incorrect base commit SHA #4

@sean-krail

Description

@sean-krail

When force pushing a branch, the identified base commit is the old commit, rather than the shared parent commit.

For example in the commit graph below, A is the parent commit, B is the old commit, and C is the new, force-pushed commit after reverting B. When the force-push is performed, this action is using B as the base commit when it should be using A.

A
| \
B  C

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions