Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository.amend_commit with encoding=None #1331

Open
pjw91 opened this issue Dec 17, 2024 · 0 comments
Open

Repository.amend_commit with encoding=None #1331

pjw91 opened this issue Dec 17, 2024 · 0 comments

Comments

@pjw91
Copy link

pjw91 commented Dec 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant