@@ -1693,12 +1693,12 @@ public static unsafe void git_packbuilder_write(PackBuilderHandle packbuilder, F
16931693 Ensure . ZeroResult ( res ) ;
16941694 }
16951695
1696- public static unsafe uint git_packbuilder_object_count ( PackBuilderHandle packbuilder )
1696+ public static unsafe UIntPtr git_packbuilder_object_count ( PackBuilderHandle packbuilder )
16971697 {
16981698 return NativeMethods . git_packbuilder_object_count ( packbuilder ) ;
16991699 }
17001700
1701- public static unsafe uint git_packbuilder_written ( PackBuilderHandle packbuilder )
1701+ public static unsafe UIntPtr git_packbuilder_written ( PackBuilderHandle packbuilder )
17021702 {
17031703 return NativeMethods . git_packbuilder_written ( packbuilder ) ;
17041704 }
@@ -2149,13 +2149,13 @@ public static unsafe RemoteHandle git_remote_create_anonymous(RepositoryHandle r
21492149 return new RemoteHandle ( handle , true ) ;
21502150 }
21512151
2152- public static unsafe void git_remote_connect ( RemoteHandle remote , GitDirection direction , ref GitRemoteCallbacks remoteCallbacks )
2152+ public static unsafe void git_remote_connect ( RemoteHandle remote , GitDirection direction , ref GitRemoteCallbacks remoteCallbacks , ref GitProxyOptions proxyOptions )
21532153 {
21542154 GitStrArrayManaged customHeaders = new GitStrArrayManaged ( ) ;
21552155
21562156 try
21572157 {
2158- int res = NativeMethods . git_remote_connect ( remote , direction , ref remoteCallbacks , ref customHeaders . Array ) ;
2158+ int res = NativeMethods . git_remote_connect ( remote , direction , ref remoteCallbacks , ref proxyOptions , ref customHeaders . Array ) ;
21592159 Ensure . ZeroResult ( res ) ;
21602160 }
21612161 catch ( Exception )
@@ -2993,7 +2993,7 @@ public static unsafe void git_submodule_add_to_index(SubmoduleHandle submodule,
29932993 Ensure . ZeroResult ( res ) ;
29942994 }
29952995
2996- public static unsafe void git_submodule_update ( SubmoduleHandle submodule , bool init , ref GitSubmoduleOptions options )
2996+ public static unsafe void git_submodule_update ( SubmoduleHandle submodule , bool init , ref GitSubmoduleUpdateOptions options )
29972997 {
29982998 var res = NativeMethods . git_submodule_update ( submodule , init , ref options ) ;
29992999 Ensure . ZeroResult ( res ) ;
@@ -3348,19 +3348,23 @@ public static BuiltInFeatures git_libgit2_features()
33483348 // C# equivalent of libgit2's git_libgit2_opt_t
33493349 private enum LibGitOption
33503350 {
3351- GetMWindowSize , // GIT_OPT_GET_MWINDOW_SIZE
3352- SetMWindowSize , // GIT_OPT_SET_MWINDOW_SIZE
3353- GetMWindowMappedLimit , // GIT_OPT_GET_MWINDOW_MAPPED_LIMIT
3354- SetMWindowMappedLimit , // GIT_OPT_SET_MWINDOW_MAPPED_LIMIT
3355- GetSearchPath , // GIT_OPT_GET_SEARCH_PATH
3356- SetSearchPath , // GIT_OPT_SET_SEARCH_PATH
3357- SetCacheObjectLimit , // GIT_OPT_SET_CACHE_OBJECT_LIMIT
3358- SetCacheMaxSize , // GIT_OPT_SET_CACHE_MAX_SIZE
3359- EnableCaching , // GIT_OPT_ENABLE_CACHING
3360- GetCachedMemory , // GIT_OPT_GET_CACHED_MEMORY
3361- GetTemplatePath , // GIT_OPT_GET_TEMPLATE_PATH
3362- SetTemplatePath , // GIT_OPT_SET_TEMPLATE_PATH
3363- SetSslCertLocations , // GIT_OPT_SET_SSL_CERT_LOCATIONS
3351+ GetMWindowSize , // GIT_OPT_GET_MWINDOW_SIZE
3352+ SetMWindowSize , // GIT_OPT_SET_MWINDOW_SIZE
3353+ GetMWindowMappedLimit , // GIT_OPT_GET_MWINDOW_MAPPED_LIMIT
3354+ SetMWindowMappedLimit , // GIT_OPT_SET_MWINDOW_MAPPED_LIMIT
3355+ GetSearchPath , // GIT_OPT_GET_SEARCH_PATH
3356+ SetSearchPath , // GIT_OPT_SET_SEARCH_PATH
3357+ SetCacheObjectLimit , // GIT_OPT_SET_CACHE_OBJECT_LIMIT
3358+ SetCacheMaxSize , // GIT_OPT_SET_CACHE_MAX_SIZE
3359+ EnableCaching , // GIT_OPT_ENABLE_CACHING
3360+ GetCachedMemory , // GIT_OPT_GET_CACHED_MEMORY
3361+ GetTemplatePath , // GIT_OPT_GET_TEMPLATE_PATH
3362+ SetTemplatePath , // GIT_OPT_SET_TEMPLATE_PATH
3363+ SetSslCertLocations , // GIT_OPT_SET_SSL_CERT_LOCATIONS
3364+ SetUserAgent , // GIT_OPT_SET_USER_AGENT
3365+ EnableStrictObjectCreation , // GIT_OPT_ENABLE_STRICT_OBJECT_CREATION
3366+ SetSslCiphers , // GIT_OPT_SET_SSL_CIPHERS
3367+ GetUserAgent , // GIT_OPT_GET_USER_AGENT
33643368 }
33653369
33663370 /// <summary>
0 commit comments