Skip to content
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

Always initialize when setting global opts #894

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Nov 12, 2022

This makes sure that init is always called when setting a global option. Although I don't think any of these cases are affected by this, I think it would be good to follow the requirements documented by libgit2 (here). Several of the other opts functions already handle this correctly.

@alexcrichton alexcrichton merged commit 405b76b into rust-lang:master Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants