diff options
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) } |
