pygit2 icon indicating copy to clipboard operation
pygit2 copied to clipboard

Repository.amend_commit with encoding=None

Open pjw91 opened this issue 1 year ago • 0 comments

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

pjw91 avatar Dec 17 '24 14:12 pjw91