diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-09-08 01:42:25 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-07 22:41:09 -0700 |
commit | 522d3cec0089228d0b1a5178c396662953cb2dc2 (patch) | |
tree | 50626d3df871d4b47a13244e110e3006813d7527 /Documentation/git-pack-refs.txt | |
parent | Merge branch 'ds/add-with-sparse-index' into ds/sparse-index-ignored-files (diff) | |
download | tgif-522d3cec0089228d0b1a5178c396662953cb2dc2.tar.xz |
t7519: rewrite sparse index test
The sparse index is tested with the FS Monitor hook and extension since
f8fe49e (fsmonitor: integrate with sparse index, 2021-07-14). This test
was very fragile because it shared an index across sparse and non-sparse
behavior. Since that expansion and contraction could cause the index to
lose its FS Monitor bitmap and token, behavior is fragile to changes in
'git sparse-checkout set'.
Rewrite the test to use two clones of the original repo: full and
sparse. This allows us to also keep the test files (actual, expect,
trace2.txt) out of the repos we are testing with 'git status'.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-pack-refs.txt')
0 files changed, 0 insertions, 0 deletions