File tree Expand file tree Collapse file tree 1 file changed +15
-17
lines changed
Expand file tree Collapse file tree 1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -19,27 +19,25 @@ import (
1919)
2020
2121type SyncOptions struct {
22- HttpClient func () (* http.Client , error )
23- IO * iostreams.IOStreams
24- BaseRepo func () (ghrepo.Interface , error )
25- Remotes func () (context.Remotes , error )
26- CurrentBranch func () (string , error )
27- Git gitClient
28- DestArg string
29- SrcArg string
30- Branch string
31- Force bool
32- SkipConfirm bool
22+ HttpClient func () (* http.Client , error )
23+ IO * iostreams.IOStreams
24+ BaseRepo func () (ghrepo.Interface , error )
25+ Remotes func () (context.Remotes , error )
26+ Git gitClient
27+ DestArg string
28+ SrcArg string
29+ Branch string
30+ Force bool
31+ SkipConfirm bool
3332}
3433
3534func NewCmdSync (f * cmdutil.Factory , runF func (* SyncOptions ) error ) * cobra.Command {
3635 opts := SyncOptions {
37- HttpClient : f .HttpClient ,
38- IO : f .IOStreams ,
39- BaseRepo : f .BaseRepo ,
40- Remotes : f .Remotes ,
41- CurrentBranch : f .Branch ,
42- Git : & gitExecuter {gitCommand : git .GitCommand },
36+ HttpClient : f .HttpClient ,
37+ IO : f .IOStreams ,
38+ BaseRepo : f .BaseRepo ,
39+ Remotes : f .Remotes ,
40+ Git : & gitExecuter {gitCommand : git .GitCommand },
4341 }
4442
4543 cmd := & cobra.Command {
You can’t perform that action at this time.
0 commit comments