Repository.amend_commit with encoding=None
Opened this issue · 0 comments
pjw91 commented
Currently, it will raise TypeError: expected new array length or list/tuple/str, not _cffi_backend._CDataBase
at encoding_cstr = ffi.new('char[]', to_bytes(encoding))
while libgit2 supports setting NULL
and not setting encoding in the commit message