Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dir: force untracked cache with core.untrackedCache
The GIT_FORCE_UNTRACKED_CACHE environment variable write the untracked cache more frequently than the core.untrackedCache config variable. This is due to how read_directory() handles the creation of an untracked cache. The old mechanism required using something like 'git update-index --untracked-cache' before the index would actually contain an untracked cache. This was noted as a performance problem on macOS in the past, and this is the resolution for that issue. Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
- Loading branch information