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

Fixes https://github.com/rust-lang/git2-rs/issues/928 This allows users to use the libgit2-sys binding for things that might not have git2 support yet.

Sometimes when using `git2` I'd like to use some `libgit2` functionality that isn't exposed. `libgit2-sys` is already exporting the functions I am interested in, but I cannot access the raw...

We have a long-running daemon that does some stuff with a repository. We noticed that the disk backing the repository was "full": ``` thing@thing-0:/var/cache/thing$ du -chs . 7.3G . 7.3G...

the libssl-dev is already installed on my container , but it still failed

I would like to overwrite the default authentication based on remote url. For instance, I have a url like git@... which means git2-rs will expect to authenticate through ssh with...

Currently there are a few object types which provide getters for retrieving data as `&[u8]`, as the data may be invalid utf-8, but don't provide the equivalent setters or constructors,...

Hi, This PR adds a simple commit example to get started even faster with the crate.

Why is it that `Repository::stash_foreach` requires a mutable reference to the repository? Couldn't it be a non-mutable one?

Hey, I would like to load a patch that was sent via email. I saw that formatting an email is [implemented](https://docs.rs/git2/latest/git2/struct.Email.html#method.from_diff) but parsing an email is not, is it? Can...

I execute this commands but got a fail message. ```shell git clone https://github.com/rust-lang/git2-rs cd git2-rs cargo build ``` then I read the [README.md - Building on macOS 10.10+](https://github.com/rust-lang/git2-rs#building-on-macos-1010) and execute...