summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--checkout.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkout.go b/checkout.go
index 456c302..8974a8c 100644
--- a/checkout.go
+++ b/checkout.go
@@ -55,7 +55,7 @@ func populateCheckoutOpts(ptr *C.git_checkout_options, opts *CheckoutOpts) *C.gi
return nil
}
- C.git_checkout_init_opts(ptr, 1)
+ C.git_checkout_init_options(ptr, 1)
ptr.checkout_strategy = C.uint(opts.Strategy)
ptr.disable_filters = cbool(opts.DisableFilters)
ptr.dir_mode = C.uint(opts.DirMode.Perm())