Skip to content

Repository.amend_commit with encoding=None #1331

Open
@pjw91

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions