We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1cedfc commit 70bc122Copy full SHA for 70bc122
pkg/cmd/repo/fork/fork.go
@@ -206,6 +206,14 @@ func forkRun(opts *ForkOptions) error {
206
if err != nil {
207
return err
208
}
209
+ // TODO
210
+ // pull this apart. There's:
211
+ // - host setting
212
+ // - globabl setting
213
+ // - hardcoded default
214
+ // - scheme set in fetch url
215
+ // - scheme set in push url
216
+ // decide how to negotiate all these given that git_protocl can be blank. will probably want a smarter Get()
217
protocol, err := cfg.Get(repoToFork.RepoHost(), "git_protocol")
218
219
0 commit comments