From 027d9e1b948e9bce598d670634bb2f662c709cef Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 30 Dec 2021 13:55:31 -0800 Subject: [PATCH] Revert "fixup! sparse-checkout: fix OOM error with mixed patterns" This reverts commit d33146878e0ea21d68961cb79b35e904c96a40e9, which will not be needed with the updated version of another topic that the test was having trouble with. --- t/t1091-sparse-checkout-builtin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t1091-sparse-checkout-builtin.sh b/t/t1091-sparse-checkout-builtin.sh index f4d5a0d6e7..32a6328ddb 100755 --- a/t/t1091-sparse-checkout-builtin.sh +++ b/t/t1091-sparse-checkout-builtin.sh @@ -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 )