(client *git.Client, b string)
| 259 | } |
| 260 | |
| 261 | func missingMergeConfigForBranch(client *git.Client, b string) bool { |
| 262 | mc, err := client.Config(context.Background(), fmt.Sprintf("branch.%s.merge", b)) |
| 263 | return err != nil || mc == "" |
| 264 | } |
| 265 | |
| 266 | func localBranchExists(client *git.Client, b string) bool { |
| 267 | _, err := client.ShowRefs(context.Background(), []string{"refs/heads/" + b}) |
no test coverage detected