X Tutup
Skip to content

Commit 70bc122

Browse files
author
vilmibm
committed
notes
1 parent a1cedfc commit 70bc122

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/cmd/repo/fork/fork.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,14 @@ func forkRun(opts *ForkOptions) error {
206206
if err != nil {
207207
return err
208208
}
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()
209217
protocol, err := cfg.Get(repoToFork.RepoHost(), "git_protocol")
210218
if err != nil {
211219
return err

0 commit comments

Comments
 (0)
X Tutup