When repo.amend_commit(commit, branch, tree=tree), where branch is a Reference/str, the reference is update by libgit2 upon calling git_commit_amend.
However, the reference object branch still points to (branch.peel()) the original commit.
Reactions are currently unavailable
When repo.amend_commit(commit, branch, tree=tree), where branch is a Reference/str, the reference is update by libgit2 upon calling git_commit_amend.
However, the reference object branch still points to (branch.peel()) the original commit.