summaryrefslogtreecommitdiff
path: root/t/t2405-worktree-submodule.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-09-24 15:39:11 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-28 10:31:02 -0700
commitf9786f9b85a6930a711e0ca8ba317c619f02bd8b (patch)
treef9ba93140dab018ca906e371ae93a0b110644229 /t/t2405-worktree-submodule.sh
parentadd: update --renormalize to skip sparse paths (diff)
downloadtgif-f9786f9b85a6930a711e0ca8ba317c619f02bd8b.tar.xz
rm: add --sparse option
As we did previously in 'git add', add a '--sparse' option to 'git rm' that allows modifying paths outside of the sparse-checkout definition. The existing checks in 'git rm' are restricted to tracked files that have the SKIP_WORKTREE bit in the current index. Future changes will cause 'git rm' to reject removing paths outside of the sparse-checkout definition, even if they are untracked or do not have the SKIP_WORKTREE bit. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2405-worktree-submodule.sh')
0 files changed, 0 insertions, 0 deletions