From 37906a68d5504fa422de48c267f582859ef5c8c5 Mon Sep 17 00:00:00 2001 From: Dariusz Pelowski Date: Mon, 14 Aug 2017 12:12:04 +0200 Subject: [PATCH] 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` --- submodule.go | 1 - vendor/libgit2 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/submodule.go b/submodule.go index 406ed08..41734ac 100644 --- a/submodule.go +++ b/submodule.go @@ -369,7 +369,6 @@ func populateSubmoduleUpdateOptions(ptr *C.git_submodule_update_options, opts *S populateCheckoutOpts(&ptr.checkout_opts, opts.CheckoutOpts) populateFetchOptions(&ptr.fetch_opts, opts.FetchOptions) - ptr.clone_checkout_strategy = C.uint(opts.CloneCheckoutStrategy) return nil } diff --git a/vendor/libgit2 b/vendor/libgit2 index df4dfaa..15e1193 160000 --- a/vendor/libgit2 +++ b/vendor/libgit2 @@ -1 +1 @@ -Subproject commit df4dfaadcf709646ebab2e57e3589952cf1ac809 +Subproject commit 15e119375018fba121cf58e02a9f17fe22df0df8