align to libgit2 v0.26.0 api changes:

`clone_checkout_strategy` has been removed from libgit2. The checkout strategy used to clone will
be the same strategy specified in `checkout_opts`
This commit is contained in:
Dariusz Pelowski 2017-08-14 12:12:04 +02:00
parent e0c6962c02
commit 37906a68d5
2 changed files with 1 additions and 2 deletions

View File

@ -369,7 +369,6 @@ func populateSubmoduleUpdateOptions(ptr *C.git_submodule_update_options, opts *S
populateCheckoutOpts(&ptr.checkout_opts, opts.CheckoutOpts) populateCheckoutOpts(&ptr.checkout_opts, opts.CheckoutOpts)
populateFetchOptions(&ptr.fetch_opts, opts.FetchOptions) populateFetchOptions(&ptr.fetch_opts, opts.FetchOptions)
ptr.clone_checkout_strategy = C.uint(opts.CloneCheckoutStrategy)
return nil return nil
} }

2
vendor/libgit2 vendored

@ -1 +1 @@
Subproject commit df4dfaadcf709646ebab2e57e3589952cf1ac809 Subproject commit 15e119375018fba121cf58e02a9f17fe22df0df8