Merge branch 'sl/worktree-sparse'
"git worktree" learned to work better with sparse index feature. * sl/worktree-sparse: worktree: integrate with sparse-index
This commit is contained in:
@ -1407,5 +1407,9 @@ int cmd_worktree(int ac, const char **av, const char *prefix)
|
||||
prefix = "";
|
||||
|
||||
ac = parse_options(ac, av, prefix, options, git_worktree_usage, 0);
|
||||
|
||||
prepare_repo_settings(the_repository);
|
||||
the_repository->settings.command_requires_full_index = 0;
|
||||
|
||||
return fn(ac, av, prefix);
|
||||
}
|
||||
|
Reference in New Issue
Block a user