(f *cmdutil.Factory)
| 309 | } |
| 310 | |
| 311 | func newGitClient(f *cmdutil.Factory) *git.Client { |
| 312 | io := f.IOStreams |
| 313 | client := &git.Client{ |
| 314 | GhPath: f.ExecutablePath, |
| 315 | Stderr: io.ErrOut, |
| 316 | Stdin: io.In, |
| 317 | Stdout: io.Out, |
| 318 | } |
| 319 | return client |
| 320 | } |
| 321 | |
| 322 | func newBrowser(f *cmdutil.Factory) browser.Browser { |
| 323 | io := f.IOStreams |
no outgoing calls