summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-06-08 04:11:21 +0200
committerCarlos Martín Nieto <[email protected]>2015-06-08 04:11:21 +0200
commit36e0a256fe79f87447bb730fda53e5cbc90eb47c (patch)
tree202ffb84de0f87dd072194b554e18dfd56af0fc4 /clone.go
parent85fde1fcfbc3fd6000b8fa1a4041b4c314a92b2f (diff)
Update to libgit2 b6011e29
Diffstat (limited to 'clone.go')
-rw-r--r--clone.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clone.go b/clone.go
index b796b6e..233300d 100644
--- a/clone.go
+++ b/clone.go
@@ -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 {