(root, ref string)
| 1315 | } |
| 1316 | |
| 1317 | func gitRefExists(root, ref string) bool { |
| 1318 | cmd := exec.Command("git", "rev-parse", "--verify", "--quiet", ref) |
| 1319 | cmd.Dir = root |
| 1320 | return cmd.Run() == nil |
| 1321 | } |
| 1322 | |
| 1323 | func gitSymbolicRef(root, ref string) (string, bool) { |
| 1324 | cmd := exec.Command("git", "symbolic-ref", "--quiet", "--short", ref) |
no outgoing calls
no test coverage detected