(f *cmdutil.Factory)
| 295 | } |
| 296 | |
| 297 | func newGitClient(f *cmdutil.Factory) *git.Client { |
| 298 | io := f.IOStreams |
| 299 | client := &git.Client{ |
| 300 | GhPath: f.ExecutablePath, |
| 301 | Stderr: io.ErrOut, |
| 302 | Stdin: io.In, |
| 303 | Stdout: io.Out, |
| 304 | } |
| 305 | return client |
| 306 | } |
| 307 | |
| 308 | func newBrowser(f *cmdutil.Factory) browser.Browser { |
| 309 | io := f.IOStreams |
no outgoing calls