Skip to content

Conversation

@arrowd
Copy link

@arrowd arrowd commented Oct 30, 2025

The marshaling was messed up due to missing extra field.

Fixes #2161

The marshaling was messed up due to missing extra field.

Fixes libgit2#2161
@bording
Copy link
Member

bording commented Oct 30, 2025

@arrowd I don't think you were looking at the right version of the libgit2 code when doing your investigations.

LibGit2Sharp is currently using v1.8.4, and that version of the git_remote_callbacks struct doesn't have the field you've added: https://github.com/libgit2/libgit2/blob/v1.8.4/include/git2/remote.h#L557-L658

@arrowd
Copy link
Author

arrowd commented Oct 30, 2025

The mentioned issue was talking exactly about using non-bundled libgit2 version.

I realize that this PR can't be merged as of now, but it will come in handy if libgit2sharp would bump its bundled libgit2.

@bording
Copy link
Member

bording commented Oct 30, 2025

The mentioned issue was talking exactly about using non-bundled libgit2 version.

A non-bundled version still needs to be v1.8.4 to be compatible with LibGit2Sharp.

I'm going to go ahead and close this for now then.

@bording bording closed this Oct 30, 2025
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

Successfully merging this pull request may close these issues.

"invalid version 0 on git_proxy_options" thrown when natives are built from source

2 participants