> + if (repository_format_worktree_config) > + given_config_source.file = git_pathdup("config.worktree"); > + else if (worktrees[0] && worktrees[1]) { > + die("BUG: migration is not supported yet"); > + } else > + given_config_source.file = git_pathdup("config"); nit: inconsistent use uf braces for single statements here. I mean the braces are needed in the BUG case, as otherwise we'd have a dangling else, but then you could put the brace in the else case as well. This nit doesn't warrant a reroll on its own. > + free_worktrees(worktrees); > + } else if (given_config_source.file) { > if (!is_absolute_path(given_config_source.file) && prefix) > given_config_source.file = > xstrdup(prefix_filename(prefix, > -- > 2.8.2.524.g6ff3d78 >