diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-01-04 17:05:11 +0000 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-01-04 17:05:11 +0000 |
| commit | d57246fb74404ed8b18d0d26d2b02b326ffd2cbe (patch) | |
| tree | 10a2ee2916f886a7324b21e8401b02749a6ff365 /remote.go | |
| parent | dff9badc05f5fd98e8f6d002e1537c7ee3ef634f (diff) | |
Update to libgit2 master
This gets rid of the Push object. All network now goes through the
Remote object.
Diffstat (limited to 'remote.go')
| -rw-r--r-- | remote.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -108,6 +108,10 @@ type HostkeyCertificate struct { HashSHA1 [20]byte } +type PushOptions struct { + PbParallelism uint +} + type RemoteHead struct { Id *Oid Name string @@ -710,7 +714,6 @@ func (o *Remote) Push(refspecs []string, opts *PushOptions, sig *Signature, msg var copts C.git_push_options C.git_push_init_options(&copts, C.GIT_PUSH_OPTIONS_VERSION) if opts != nil { - copts.version = C.uint(opts.Version) copts.pb_parallelism = C.uint(opts.PbParallelism) } |
