(client *git.Client, b string)
| 312 | } |
| 313 | |
| 314 | func missingMergeConfigForBranch(client *git.Client, b string) bool { |
| 315 | mc, err := client.Config(context.Background(), fmt.Sprintf("branch.%s.merge", b)) |
| 316 | return err != nil || mc == "" |
| 317 | } |
| 318 | |
| 319 | // detachCmds returns the commands for a detached checkout. When reusing an |
| 320 | // existing linked worktree, FETCH_HEAD must be written inside it (it is |
no test coverage detected