Merge branch 'mt/add-rm-in-sparse-checkout'
authorJunio C Hamano <gitster@pobox.com>
Fri, 7 May 2021 03:47:39 +0000 (12:47 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 May 2021 03:47:40 +0000 (12:47 +0900)
commitfe069dce6251f40eb3d54861500c92afb0e481d9
treea414af6ca4ba1fd452249ee59a85157a49bfa119
parente706aaf3bc8ad97877cbf21887f96c5af66c7562
parentd5f4b8260f623d6fdef36d5eaa8a0c2350390472
Merge branch 'mt/add-rm-in-sparse-checkout'

"git add" and "git rm" learned not to touch those paths that are
outside of sparse checkout.

* mt/add-rm-in-sparse-checkout:
  rm: honor sparse checkout patterns
  add: warn when asked to update SKIP_WORKTREE entries
  refresh_index(): add flag to ignore SKIP_WORKTREE entries
  pathspec: allow to ignore SKIP_WORKTREE entries on index matching
  add: make --chmod and --renormalize honor sparse checkouts
  t3705: add tests for `git add` in sparse checkouts
  add: include magic part of pathspec on --refresh error
builtin/add.c
builtin/rm.c
cache.h
pathspec.c
pathspec.h
read-cache.c