(output string)
| 343 | } |
| 344 | |
| 345 | func firstLine(output string) string { |
| 346 | if i := strings.Index(output, "\n"); i >= 0 { |
| 347 | return output[0:i] |
| 348 | } else { |
| 349 | return output |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | func gitCmd(args ...string) *cmd.Cmd { |
| 354 | cmd := cmd.New("git") |
no outgoing calls
no test coverage detected
searching dependent graphs…