Skip to content

Compatibility with libgit2 0.28

Ghost User requested to merge (removed):fix-new-libgit2-api into master

The git_buf_free API is deprecated; it has been renamed to git_buf_dispose for consistency. The git_buf_free API will be retained for backward compatibility for the foreseeable future.

The error functions and enumeration values have been renamed for consistency. The giterr_ functions and values prefix have been renamed to be prefixed with git_error_; similarly, the GITERR_ constants have been renamed to be prefixed with GIT_ERROR_. The old enumerations and macros will be retained for backward compatibility for the foreseeable future.

Not thoroughly tested.

Edited by Ghost User

Merge request reports