8000 Fix checkout type semantics · Issue #6002 · libgit2/libgit2 · GitHub
[go: up one dir, main page]

Skip to content

Fix checkout type semantics #6002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ethomson opened this issue Aug 24, 2021 · 1 comment
Closed

Fix checkout type semantics #6002

ethomson opened this issue Aug 24, 2021 · 1 comment
Labels

Comments

@ethomson
Copy link
Member

2.0 gives us some opportunities for breaking changes.

I think that in a perfect world, we would reshuffle things so that GIT_CHECKOUT_SAFE = 0, GIT_CHECKOUT_NONE and GIT_CHECKOUT_DRY_RUN are aliases for another. That way you can dry-run a safe or a force checkout, and there's a good default of SAFE. We would probably give it another name like DEFAULT and keep SAFE an alias for compatibility.

@ethomson
Copy link
Member Author

Fixed via #6037

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant
0