libgit2 / pygit2

Python bindings for libgit2
https://www.pygit2.org/
Other
1.61k stars 385 forks source link

RemoteCallbacks.push_update_reference: pass refname as a string #1168

Closed jorio closed 1 year ago

jorio commented 1 year ago

refname was passed to push_update_reference as bytes. However, the docstring for push_update_reference says refname is a string. Also, refname is already passed as a string to another callback (update_tips).