]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ds/add-rm-with-sparse-index'
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Oct 2021 22:15:56 +0000 (15:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Oct 2021 22:15:56 +0000 (15:15 -0700)
commit2d498a7c894444fba5cfb0007e6b757afcde63c6
tree05fe72f5a32240cdcc2c50b912b21f020b40d2ad
parent2bd2f258f4195ac54293a3f45b86457c0bd5fc11
parent6579e788c0a4b9468c5e2954a0868f9db0496e43
Merge branch 'ds/add-rm-with-sparse-index'

"git add", "git mv", and "git rm" have been adjusted to avoid
updating paths outside of the sparse-checkout definition unless
the user specifies a "--sparse" option.

* ds/add-rm-with-sparse-index:
  advice: update message to suggest '--sparse'
  mv: refuse to move sparse paths
  rm: skip sparse paths with missing SKIP_WORKTREE
  rm: add --sparse option
  add: update --renormalize to skip sparse paths
  add: update --chmod to skip sparse paths
  add: implement the --sparse option
  add: skip tracked paths outside sparse-checkout cone
  add: fail when adding an untracked sparse file
  dir: fix pattern matching on dirs
  dir: select directories correctly
  t1092: behavior for adding sparse files
  t3705: test that 'sparse_entry' is unstaged
advice.c
builtin/add.c
builtin/rm.c
dir.c
t/t1091-sparse-checkout-builtin.sh