mirror of
https://github.com/git/git.git
synced 2024-11-01 14:57:52 +01:00
Merge branch 'jh/preload-index-skip-skip'
The preload-index code has been taught not to bother with the index entries that are paths that are not checked out by "sparse checkout". * jh/preload-index-skip-skip: preload-index: avoid lstat for skip-worktree items
This commit is contained in:
commit
c7e234fc38
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ static void *preload_thread(void *_data)
|
|||
continue;
|
||||
if (ce_uptodate(ce))
|
||||
continue;
|
||||
if (ce_skip_worktree(ce))
|
||||
continue;
|
||||
if (!ce_path_match(ce, &p->pathspec, NULL))
|
||||
continue;
|
||||
if (threaded_has_symlink_leading_path(&cache, ce->name, ce_namelen(ce)))
|
||||
|
|
Loading…
Reference in a new issue