diff options
author | Victoria Dye <vdye@github.com> | 2022-03-17 15:55:34 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-17 09:13:21 -0700 |
commit | c3a9cecc7f5ea8b36d6943b868122ca0bfbc0f9c (patch) | |
tree | 61dd4efe5981c45a43da4364585c61dbe52521a6 /t/t3900/ISO-2022-JP.txt | |
parent | The twelfth batch (diff) | |
download | tgif-c3a9cecc7f5ea8b36d6943b868122ca0bfbc0f9c.tar.xz |
t1092: add sparse directory before cone in test repo
Add a sparse directory 'before/' containing files 'a' and 'b' to the test
repo used in 't/t1092-sparse-checkout-compatibility.sh'. This is meant to
ensure that no sparse index integrations rely on the in-cone path(s) being
lexicographically first in the repo.
Unfortunately, some existing tests do not handle this repo architecture
properly:
* 'add outside sparse cone'
* 'status/add: outside sparse cone'
* 'reset with pathspecs inside sparse definition'
All three of these are due to the incorrect handling of the
'unpack_trees_options.cache_bottom' when performing a cache diff via
'unpack_trees'. This will be corrected in a future patch; in the meantime,
mark the tests with 'test_expect_failure'.
Finally, update the 'ls-files' and 'root directory cannot be sparse' tests
to include the 'before/' directory in their expected index contents.
Co-authored-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3900/ISO-2022-JP.txt')
0 files changed, 0 insertions, 0 deletions