diff options
author | Shaoxuan Yuan <shaoxuan.yuan02@gmail.com> | 2022-06-30 10:37:32 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-01 14:50:16 -0700 |
commit | 707fa2f76ac77f441578943be56e5a4a3ee8c3c5 (patch) | |
tree | 29886e65a05957d9a0ba4851f22553577b312d88 /t/t9133-git-svn-nested-git-repo.sh | |
parent | 1143cc01b722225b041eb5db0bd733bdb4549949 (diff) |
mv: update sparsity after moving from out-of-cone to in-cone
Originally, "git mv" a sparse file from out-of-cone to
in-cone does not update the moved file's sparsity (remove its
SKIP_WORKTREE bit). And the corresponding cache entry is, unexpectedly,
not checked out in the working tree.
Update the behavior so that:
1. Moving from out-of-cone to in-cone removes the SKIP_WORKTREE bit from
corresponding cache entry.
2. The moved cache entry is checked out in the working tree to reflect
the updated sparsity.
Helped-by: Victoria Dye <vdye@github.com>
Signed-off-by: Shaoxuan Yuan <shaoxuan.yuan02@gmail.com>
Acked-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9133-git-svn-nested-git-repo.sh')
0 files changed, 0 insertions, 0 deletions