diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-06-08 04:11:21 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-06-08 04:11:21 +0200 |
| commit | 36e0a256fe79f87447bb730fda53e5cbc90eb47c (patch) | |
| tree | 202ffb84de0f87dd072194b554e18dfd56af0fc4 /clone.go | |
| parent | 85fde1fcfbc3fd6000b8fa1a4041b4c314a92b2f (diff) | |
Update to libgit2 b6011e29
Diffstat (limited to 'clone.go')
| -rw-r--r-- | clone.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ import ( type CloneOptions struct { *CheckoutOpts - *RemoteCallbacks + *FetchOptions Bare bool CheckoutBranch string RemoteCreateCallback C.git_remote_create_cb @@ -55,7 +55,7 @@ func populateCloneOptions(ptr *C.git_clone_options, opts *CloneOptions) { return } populateCheckoutOpts(&ptr.checkout_opts, opts.CheckoutOpts) - populateRemoteCallbacks(&ptr.remote_callbacks, opts.RemoteCallbacks) + populateFetchOptions(&ptr.fetch_opts, opts.FetchOptions) ptr.bare = cbool(opts.Bare) if opts.RemoteCreateCallback != nil { |
