pygit2 icon indicating copy to clipboard operation
pygit2 copied to clipboard

refresh Reference when commit with update_ref non-None

Open pjw91 opened this issue 1 year ago • 0 comments

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.

pjw91 avatar Dec 16 '24 16:12 pjw91