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.
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.