git2-rs icon indicating copy to clipboard operation
git2-rs copied to clipboard

Allow setting GIT_OPT_SET_SSL_CERT_LOCATIONS option in libgit2

Open aharbis opened this issue 2 years ago • 2 comments

The git2::opts module exposes some options, but not all. I'm interested in being able to set GIT_OPT_SET_SSL_CERT_LOCATIONS to control where libgit2 looks for SSL certificates.

If there is some workaround (maybe a build-time configuration?) that would also be helpful.

aharbis avatar Oct 24 '23 14:10 aharbis

A PR to add a binding for that option would be welcome. I think it would just roughly follow the form of the other options.

ehuss avatar Oct 24 '23 16:10 ehuss

PR raised: https://github.com/rust-lang/git2-rs/pull/997

aharbis avatar Oct 31 '23 18:10 aharbis