aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
diff options
context:
space:
mode:
authorSören Bohn <soeren.bohn@ppro.com>2021-10-26 15:49:15 +0200
committerSören Bohn <soeren@lambda-complex.org>2021-10-26 16:08:54 +0200
commite729edb00d36e9bd19f99dfa493984233b0dccfa (patch)
tree3cb555f90071aa32768c6a49a90d52d47eda64be /options.go
parent99457e570d34320b12fb4fcd0f054f3d0b1d3eec (diff)
downloadgo-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.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.go b/options.go
index 3bd6876..84bf947 100644
--- a/options.go
+++ b/options.go
@@ -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.