]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
"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

1  2 
advice.c
builtin/add.c
builtin/rm.c
dir.c
t/t1091-sparse-checkout-builtin.sh

diff --cc advice.c
Simple merge
diff --cc builtin/add.c
Simple merge
diff --cc builtin/rm.c
Simple merge
diff --cc dir.c
Simple merge
Simple merge