Skip to content

Commit

Permalink
Use safe instead of force
Browse files Browse the repository at this point in the history
  • Loading branch information
bording committed Nov 24, 2024
1 parent b264cf6 commit c8fe89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibGit2Sharp/Core/GitWorktree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
}

Expand Down

0 comments on commit c8fe89c

Please sign in to comment.