diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2021-11-01 22:52:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 22:52:38 +0100 |
commit | 3211a7a12a0ec2922d257fb14f09c6ecfb0b7c77 (patch) | |
tree | 667f1a41e4223ac6c255463500a05a6d8ceab349 /plumbing/protocol/packp/updreq.go | |
parent | ed3b10c0489949843abf071e3ce2697c0c65f26d (diff) | |
parent | e729edb00d36e9bd19f99dfa493984233b0dccfa (diff) | |
download | go-git-3211a7a12a0ec2922d257fb14f09c6ecfb0b7c77.tar.gz |
Merge pull request #399 from S-Bohn/add-push-options
Remote: PushOptions add push-options
Diffstat (limited to 'plumbing/protocol/packp/updreq.go')
-rw-r--r-- | plumbing/protocol/packp/updreq.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plumbing/protocol/packp/updreq.go b/plumbing/protocol/packp/updreq.go index 4d927d8..46ad6fd 100644 --- a/plumbing/protocol/packp/updreq.go +++ b/plumbing/protocol/packp/updreq.go @@ -19,6 +19,7 @@ var ( type ReferenceUpdateRequest struct { Capabilities *capability.List Commands []*Command + Options []*Option Shallow *plumbing.Hash // Packfile contains an optional packfile reader. Packfile io.ReadCloser @@ -120,3 +121,8 @@ func (c *Command) validate() error { return nil } + +type Option struct { + Key string + Value string +} |