gitRun runs a git command with stdout/stderr connected to the terminal.
(args ...string)
| 23 | // gitRun runs a git command with stdout/stderr connected to the |
| 24 | // terminal. |
| 25 | func gitRun(args ...string) error { |
| 26 | cmd := exec.Command("git", args...) |
| 27 | cmd.Stdout = nil |
| 28 | cmd.Stderr = nil |
| 29 | return cmd.Run() |
| 30 | } |
no test coverage detected