From 96b82b11c64ffcf00e0d10b1bad1b6d1fbfc896c Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sat, 14 Feb 2015 11:44:05 -0500 Subject: checkout: remove `GIT_CHECKOUT_SAFE_CREATE` as a strategy --- tests/checkout/typechange.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/checkout/typechange.c') diff --git a/tests/checkout/typechange.c b/tests/checkout/typechange.c index 7aa14b36d..4a0b38ae0 100644 --- a/tests/checkout/typechange.c +++ b/tests/checkout/typechange.c @@ -212,7 +212,8 @@ void test_checkout_typechange__checkout_with_conflicts(void) p_mkdir("typechanges/d", 0777); /* intentionally empty dir */ force_create_file("typechanges/untracked"); - opts.checkout_strategy = GIT_CHECKOUT_SAFE_CREATE; + opts.checkout_strategy = GIT_CHECKOUT_SAFE | + GIT_CHECKOUT_RECREATE_MISSING; memset(&cts, 0, sizeof(cts)); cl_git_fail(git_checkout_tree(g_repo, obj, &opts)); -- cgit v1.2.3