]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/config.c
Merge branch 'es/get-worktrees-unsort'
[thirdparty/git.git] / builtin / config.c
index ee4aef6a3555765a9ed74263d68c765ba8431f85..5e39f6188542bb28cd859e52b883d13fcbd281fe 100644 (file)
@@ -672,7 +672,7 @@ int cmd_config(int argc, const char **argv, const char *prefix)
                given_config_source.file = git_pathdup("config");
                given_config_source.scope = CONFIG_SCOPE_LOCAL;
        } else if (use_worktree_config) {
-               struct worktree **worktrees = get_worktrees(0);
+               struct worktree **worktrees = get_worktrees();
                if (repository_format_worktree_config)
                        given_config_source.file = git_pathdup("config.worktree");
                else if (worktrees[0] && worktrees[1])