diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-09-24 15:39:11 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-28 10:31:02 -0700 |
commit | f9786f9b85a6930a711e0ca8ba317c619f02bd8b (patch) | |
tree | f9ba93140dab018ca906e371ae93a0b110644229 /bloom.c | |
parent | add: update --renormalize to skip sparse paths (diff) | |
download | tgif-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 'bloom.c')
0 files changed, 0 insertions, 0 deletions