diff options
author | Ori Rawlings <orirawlings@gmail.com> | 2017-10-23 09:09:21 -0500 |
---|---|---|
committer | Ori Rawlings <orirawlings@gmail.com> | 2017-10-23 09:09:25 -0500 |
commit | 4b2b0491c6dea9b28f1c1fa6e64843cfb974b388 (patch) | |
tree | 0f306509d40eca8a70101a54f6207a1dcfc45c7b /plumbing/protocol/packp/capability/capability.go | |
parent | b345ed745d8044fddbb1da0a8010828ec550f294 (diff) | |
download | go-git-4b2b0491c6dea9b28f1c1fa6e64843cfb974b388.tar.gz |
packp/capability: Skip argument validations for unknown capabilities
Fixes #623
Diffstat (limited to 'plumbing/protocol/packp/capability/capability.go')
-rw-r--r-- | plumbing/protocol/packp/capability/capability.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/protocol/packp/capability/capability.go b/plumbing/protocol/packp/capability/capability.go index 96d93f6..a129781 100644 --- a/plumbing/protocol/packp/capability/capability.go +++ b/plumbing/protocol/packp/capability/capability.go @@ -234,7 +234,7 @@ const ( const DefaultAgent = "go-git/4.x" -var valid = map[Capability]bool{ +var known = map[Capability]bool{ MultiACK: true, MultiACKDetailed: true, NoDone: true, ThinPack: true, Sideband: true, Sideband64k: true, OFSDelta: true, Agent: true, Shallow: true, DeepenSince: true, DeepenNot: true, DeepenRelative: true, |