diff options
author | Sören Bohn <soeren.bohn@ppro.com> | 2021-10-26 15:49:15 +0200 |
---|---|---|
committer | Sören Bohn <soeren@lambda-complex.org> | 2021-10-26 16:08:54 +0200 |
commit | e729edb00d36e9bd19f99dfa493984233b0dccfa (patch) | |
tree | 3cb555f90071aa32768c6a49a90d52d47eda64be /options.go | |
parent | 99457e570d34320b12fb4fcd0f054f3d0b1d3eec (diff) | |
download | go-git-e729edb00d36e9bd19f99dfa493984233b0dccfa.tar.gz |
plumbing: packp, Add encoding for push-options. Fixes #268.
go-git: Add field `Options` to `PushOptions`, wire functionality.
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -222,6 +222,8 @@ type PushOptions struct { // FollowTags will send any annotated tags with a commit target reachable from // the refs already being pushed FollowTags bool + // PushOptions sets options to be transferred to the server during push. + Options map[string]string } // Validate validates the fields and sets the default values. |