Skip to content

Bump Libgit2 1.9.4 - #101

Open
hannesa2 wants to merge 8 commits into
masterfrom
libgit2-1.9.4
Open

hannesa2 wants to merge 8 commits into
masterfrom
libgit2-1.9.4

Conversation

@hannesa2

Copy link
Copy Markdown

No description provided.

tiennou and others added 8 commits September 14, 2026 07:04
Update to libgit2 1.0.0
libgit2 1.0.0 renamed several C API symbols (git_cred -> git_credential,
git_index_add_frombuffer -> git_index_add_from_buffer,
git_blob_create_frombuffer -> git_blob_create_from_buffer, etc.) but keeps
the old names available as macros/typedefs/deprecated wrappers in
git2/deprecated.h, guarded by '#ifndef GIT_DEPRECATE_HARD'. GTBlob.m,
GTIndex.m and GTCredential.m only imported the narrower headers that
declare the new names (git2/blob.h, git2/errors.h) and so failed to build
against libgit2 1.0.0 with 'unknown type name' / 'call to undeclared
function' errors for the still-used old names.
@hannesa2 hannesa2 added the dependencies Pull requests that update a dependency file label Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants