aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2021-11-01 22:52:38 +0100
committerGitHub <noreply@github.com>2021-11-01 22:52:38 +0100
commit3211a7a12a0ec2922d257fb14f09c6ecfb0b7c77 (patch)
tree667f1a41e4223ac6c255463500a05a6d8ceab349 /options.go
parented3b10c0489949843abf071e3ce2697c0c65f26d (diff)
parente729edb00d36e9bd19f99dfa493984233b0dccfa (diff)
downloadgo-git-3211a7a12a0ec2922d257fb14f09c6ecfb0b7c77.tar.gz
Merge pull request #399 from S-Bohn/add-push-options
Remote: PushOptions add push-options
Diffstat (limited to 'options.go')
-rw-r--r--options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.go b/options.go
index b71299b..e54889f 100644
--- a/options.go
+++ b/options.go
@@ -228,6 +228,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.