Skip to content

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