(client *git.Client, b string)
| 319 | } |
| 320 | |
| 321 | func missingMergeConfigForBranch(client *git.Client, b string) bool { |
| 322 | mc, err := client.Config(context.Background(), fmt.Sprintf("branch.%s.merge", b)) |
| 323 | return err != nil || mc == "" |
| 324 | } |
| 325 | |
| 326 | func localBranchExists(client *git.Client, b string) bool { |
| 327 | _, err := client.ShowRefs(context.Background(), []string{"refs/heads/" + b}) |
no test coverage detected