aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/protocol/packp/updreq.go
diff options
context:
space:
mode:
authorPaul T <paul.t@gembaadvantage.com>2021-11-02 07:51:10 +0000
committerGitHub <noreply@github.com>2021-11-02 07:51:10 +0000
commit411809ddb56551c2420c722acf49ce4e774333ad (patch)
tree353255c0c4719f39a0e1ff1b9262b98f4aedc91b /plumbing/protocol/packp/updreq.go
parent51514482c696e7d3aadd551cd1308cedc7055ce0 (diff)
parent3211a7a12a0ec2922d257fb14f09c6ecfb0b7c77 (diff)
downloadgo-git-411809ddb56551c2420c722acf49ce4e774333ad.tar.gz
Merge branch 'go-git:master' into codecommit-ref-delta
Diffstat (limited to 'plumbing/protocol/packp/updreq.go')
-rw-r--r--plumbing/protocol/packp/updreq.go6
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
+}