File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
chaoscenter/graphql/server/pkg/chaoshub/ops Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 99
1010 "github.com/go-git/go-git/v5"
1111 "github.com/go-git/go-git/v5/plumbing"
12+ "github.com/go-git/go-git/v5/plumbing/protocol/packp/capability"
1213 "github.com/go-git/go-git/v5/plumbing/transport"
1314 "github.com/go-git/go-git/v5/plumbing/transport/http"
1415 "github.com/go-git/go-git/v5/plumbing/transport/ssh"
@@ -276,6 +277,10 @@ func (c ChaosHubConfig) gitPullPrivateRepo() error {
276277
277278// generateAuthMethod creates AuthMethod for private repos
278279func (c ChaosHubConfig ) generateAuthMethod () (transport.AuthMethod , error ) {
280+ transport .UnsupportedCapabilities = []capability.Capability {
281+ capability .ThinPack ,
282+ }
283+
279284 var auth transport.AuthMethod
280285 if c .AuthType == model .AuthTypeToken {
281286 auth = & http.BasicAuth {
You can’t perform that action at this time.
0 commit comments