summaryrefslogtreecommitdiff
path: root/remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/remote.go b/remote.go
index 14e94a2..775c851 100644
--- a/remote.go
+++ b/remote.go
@@ -361,7 +361,7 @@ func pushUpdateReferenceCallback(refname, status *C.char, data unsafe.Pointer) i
}
func populateProxyOptions(ptr *C.git_proxy_options, opts *ProxyOptions) {
- C.git_proxy_init_options(ptr, C.GIT_PROXY_OPTIONS_VERSION)
+ C.git_proxy_options_init(ptr, C.GIT_PROXY_OPTIONS_VERSION)
if opts == nil {
return
}
@@ -685,7 +685,7 @@ func (o *Remote) RefspecCount() uint {
}
func populateFetchOptions(options *C.git_fetch_options, opts *FetchOptions) {
- C.git_fetch_init_options(options, C.GIT_FETCH_OPTIONS_VERSION)
+ C.git_fetch_options_init(options, C.GIT_FETCH_OPTIONS_VERSION)
if opts == nil {
return
}
@@ -701,7 +701,7 @@ func populateFetchOptions(options *C.git_fetch_options, opts *FetchOptions) {
}
func populatePushOptions(options *C.git_push_options, opts *PushOptions) {
- C.git_push_init_options(options, C.GIT_PUSH_OPTIONS_VERSION)
+ C.git_push_options_init(options, C.GIT_PUSH_OPTIONS_VERSION)
if opts == nil {
return
}