summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-05-03 18:56:44 +0200
committerCarlos Martín Nieto <[email protected]>2014-05-03 18:56:44 +0200
commit9c72700765ed2459968a40f6cc1ddf41488f2465 (patch)
tree079b28c69954bbbf96d499656a07a4307c3ecf4b
parent5809f031087e5665549de3355034b193f7c13853 (diff)
checkout: init_opts -> init_options
-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())