diff options
| author | Shaoxuan Yuan <shaoxuan.yuan02@gmail.com> | 2022-06-30 10:37:31 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-07-01 14:50:15 -0700 |
| commit | 1143cc01b722225b041eb5db0bd733bdb4549949 (patch) | |
| tree | c3b13f32a5136fa3ebd14bbd6c502b4f2a13c59c /commit-graph.c | |
| parent | t7002: add tests for moving out-of-cone file/directory (diff) | |
| download | git-1143cc01b722225b041eb5db0bd733bdb4549949.tar.gz git-1143cc01b722225b041eb5db0bd733bdb4549949.zip | |
t1092: mv directory from out-of-cone to in-cone
Add test for "mv: add check_dir_in_index() and solve general dir check
issue" in this series.
This change tests the following:
1. mv <source> as a directory on the sparse index boundary (where it
would be a sparse directory in a sparse index).
2. mv <source> as a directory which is deeper than the boundary (so
the sparse index would expand in the cache_name_pos() method).
These tests can be written now for correctness, but later the first case
can be updated to use the 'ensure_not_expanded' helper in t1092.
Suggested-by: Derrick Stolee <derrickstolee@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 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
