summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
Diffstat (limited to 'clone.go')
-rw-r--r--clone.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clone.go b/clone.go
index 1ff5124..6141d0f 100644
--- a/clone.go
+++ b/clone.go
@@ -77,7 +77,7 @@ func remoteCreateCallback(cremote unsafe.Pointer, crepo unsafe.Pointer, cname, c
}
func populateCloneOptions(ptr *C.git_clone_options, opts *CloneOptions) {
- C.git_clone_init_options(ptr, C.GIT_CLONE_OPTIONS_VERSION)
+ C.git_clone_options_init(ptr, C.GIT_CLONE_OPTIONS_VERSION)
if opts == nil {
return