(client *git.Client, b string)
| 264 | } |
| 265 | |
| 266 | func localBranchExists(client *git.Client, b string) bool { |
| 267 | _, err := client.ShowRefs(context.Background(), []string{"refs/heads/" + b}) |
| 268 | return err == nil |
| 269 | } |
| 270 | |
| 271 | func executeCmds(client *git.Client, credentialPattern git.CredentialPattern, cmdQueue [][]string) error { |
| 272 | for _, args := range cmdQueue { |
no test coverage detected