Merge branch 'ds/sparse-index-ignored-files'
commitdc89c34d9e9237293d0ed73adc454fedfc620f74
authorJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 22:20:44 +0000 (20 15:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Sep 2021 22:20:44 +0000 (20 15:20 -0700)
tree9c27cc50d4f38e7301a856169e62947d07e5b3c4
parente78db9d3037eba812591857e7b44e69b97b329f4
parent55dfcf9591b088ce60ec80eb5425dda18223cac0
Merge branch 'ds/sparse-index-ignored-files'

In cone mode, the sparse-index code path learned to remove ignored
files (like build artifacts) outside the sparse cone, allowing the
entire directory outside the sparse cone to be removed, which is
especially useful when the sparse patterns change.

* ds/sparse-index-ignored-files:
  sparse-checkout: clear tracked sparse dirs
  sparse-index: add SPARSE_INDEX_MEMORY_ONLY flag
  attr: be careful about sparse directories
  sparse-checkout: create helper methods
  sparse-index: use WRITE_TREE_MISSING_OK
  sparse-index: silently return when cache tree fails
  unpack-trees: fix nested sparse-dir search
  sparse-index: silently return when not using cone-mode patterns
  t7519: rewrite sparse index test
builtin/add.c
dir.c
dir.h
sparse-index.c
unpack-trees.c