Skip to content

Commit 704a25b

Browse files
committedNov 24, 2024
Use safe instead of force
1 parent f145a2c commit 704a25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎LibGit2Sharp/Core/GitWorktree.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ internal class git_worktree_add_options
4141
public GitCheckoutOpts checkoutOpts = new GitCheckoutOpts
4242
{
4343
version = 1,
44-
checkout_strategy = CheckoutStrategy.GIT_CHECKOUT_FORCE
44+
checkout_strategy = CheckoutStrategy.GIT_CHECKOUT_SAFE
4545
};
4646
}
4747

0 commit comments

Comments
 (0)
Failed to load comments.