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

libgit2 bindings for Rust

Results 143 git2-rs issues
Sort by recently updated
recently updated
newest added

When attempting to ``` let cfg = repo.config().expect("Failed to obtain config struct"); let name = cfg.get_str("user.name").unwrap(); //

Hi Git2-rs maintainers, I'm Lucas, a core contributor to the Radworks project. https://radworks.org/ [[Radicle](http://www.radicle.xyz/)] has been using https://github.com/rust-lang/git2-rs. It's in fact one of our most critical dependencies! All Radicle’s core-contributors...

I am trying to push to a github repo using the ssh remote but I am getting an error `failed to authenticate SSH session: ; class=Ssh (23)` the code ```...

git2-rs is blocking on RemoteConnection over cafe WiFi but works fine on my home network. Sometimes this happens with git when I'm on a public WiFi so I checked and...

I have a build script using `git2`, which builds fine, but when it is executed, fails with: ``` /target/debug/build/built2-42d7a0628db36d4d/build-script-build: error while loading shared libraries: libgit2.so.1.9: cannot open shared object file:...

Previously the add_helper function would check whether the command contains a `\` or `/` character to determine whether it is absolute. It should have used starts_with instead of contains. In...

S-waiting-on-review

The implementation of `CredentialsHelper::add_command` of `git2-rs` is different from that of the `git` CLI. While `git2-rs` checks whether a command contains a `/` or `\` anywhere, the `git` CLI checks...

I've come across a strange issue where the use of a `DiffLine` in two different locations ends up with some mangled looking output. I've created a reproducible in this repository...