]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'en/present-despite-skipped'
authorJunio C Hamano <gitster@pobox.com>
Wed, 9 Mar 2022 21:38:23 +0000 (13:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Mar 2022 21:38:23 +0000 (13:38 -0800)
commit82386b44963f127d6dbe25d48889bde3149e177c
tree56659c554f71478bd7ab0635fc23438faa760f91
parentc2162907e9aa884bdb70208389cb99b181620d51
parentecc7c8841de40a38637680509f7e1e6ce25d89ca
Merge branch 'en/present-despite-skipped'

In sparse-checkouts, files mis-marked as missing from the working tree
could lead to later problems.  Such files were hard to discover, and
harder to correct.  Automatically detecting and correcting the marking
of such files has been added to avoid these problems.

* en/present-despite-skipped:
  repo_read_index: add config to expect files outside sparse patterns
  Accelerate clear_skip_worktree_from_present_files() by caching
  Update documentation related to sparsity and the skip-worktree bit
  repo_read_index: clear SKIP_WORKTREE bit from files present in worktree
  unpack-trees: fix accidental loss of user changes
  t1011: add testcase demonstrating accidental loss of user modifications
Documentation/config.txt
Documentation/git-sparse-checkout.txt
cache.h
config.c
sparse-index.c