summaryrefslogtreecommitdiff
path: root/submodule.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-03-15 01:49:32 +0100
committerCarlos Martín Nieto <[email protected]>2015-03-15 01:49:32 +0100
commitc4fce1a218fd33938c0be90e939531c0a00ebf7f (patch)
tree40cf7f6c0331050db5f841ddfd6738951f482f66 /submodule.go
parent050e6fbc49ac1a173af5e3462b3c2d330cadd113 (diff)
Update to libgit2 d675982a153
There's been some changes to the checkout strategy, especially the SAFE_CREATE mode, which is now the RECREATE_MISSING flag, though that shouldn't be necessary to use in the general case. The largest changes come from the removal of the signture from ref-modifying functions/methods and the removal of the reflog string in all but those directly related to moving references.
Diffstat (limited to 'submodule.go')
-rw-r--r--submodule.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/submodule.go b/submodule.go
index 7c6c922..fdd38cc 100644
--- a/submodule.go
+++ b/submodule.go
@@ -16,7 +16,6 @@ type SubmoduleUpdateOptions struct {
*CheckoutOpts
*RemoteCallbacks
CloneCheckoutStrategy CheckoutStrategy
- Signature *Signature
}
// Submodule
@@ -345,11 +344,5 @@ func populateSubmoduleUpdateOptions(ptr *C.git_submodule_update_options, opts *S
populateRemoteCallbacks(&ptr.remote_callbacks, opts.RemoteCallbacks)
ptr.clone_checkout_strategy = C.uint(opts.CloneCheckoutStrategy)
- sig, err := opts.Signature.toC()
- if err != nil {
- return err
- }
- ptr.signature = sig
-
return nil
}