Revert "fixup! sparse-checkout: fix OOM error with mixed patterns"

This reverts commit d33146878e, which
will not be needed with the updated version of another topic that
the test was having trouble with.
This commit is contained in:
Junio C Hamano
2021-12-30 13:55:31 -08:00
parent 55b058a8bb
commit 027d9e1b94

View File

@@ -117,7 +117,7 @@ test_expect_success 'switching to cone mode with non-cone mode patterns' '
cd bad-patterns &&
git sparse-checkout init &&
git sparse-checkout add dir &&
git config --worktree core.sparseCheckoutCone true &&
git config core.sparseCheckoutCone true &&
test_must_fail git sparse-checkout add dir 2>err &&
grep "existing sparse-checkout patterns do not use cone mode" err
)