From 704a25bb73b13c9301346286d8120158fc950365 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Sun, 24 Nov 2024 02:50:24 -0500 Subject: [PATCH] Use safe instead of force --- LibGit2Sharp/Core/GitWorktree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibGit2Sharp/Core/GitWorktree.cs b/LibGit2Sharp/Core/GitWorktree.cs index 5e2aca023..2e17bc20d 100644 --- a/LibGit2Sharp/Core/GitWorktree.cs +++ b/LibGit2Sharp/Core/GitWorktree.cs @@ -41,7 +41,7 @@ internal class git_worktree_add_options public GitCheckoutOpts checkoutOpts = new GitCheckoutOpts { version = 1, - checkout_strategy = CheckoutStrategy.GIT_CHECKOUT_FORCE + checkout_strategy = CheckoutStrategy.GIT_CHECKOUT_SAFE }; }