Skip to content

Commit 07ae01e

Browse files
committed
Bring the GitRemoteCallbacks structure in sync with libgit2
The marshaling was messed up due to missing extra field. Fixes #2161
1 parent 50d6978 commit 07ae01e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

LibGit2Sharp/Core/GitRemoteCallbacks.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ internal struct GitRemoteCallbacks
3333

3434
internal IntPtr transport;
3535

36-
private IntPtr padding; // TODO: add git_remote_ready_cb
36+
internal IntPtr remote_ready; // TODO: add git_remote_ready_cb
3737

3838
internal IntPtr payload;
3939

4040
internal NativeMethods.url_resolve_callback resolve_url;
41+
42+
private IntPtr update_refs;
4143
}
4244
}

0 commit comments

Comments
 (0)