git2-rs
git2-rs copied to clipboard
libgit2 bindings for Rust
I found a strange behavior in **0.13**, not in the latest version 0.14. Since I couldn't find the CHANGELOG, I was not sure that the following bug was fixed intentionally,...
`uname -a` output: `Linux HAL-9K 5.16.14-1-MANJARO #1 SMP PREEMPT Fri Mar 11 14:12:18 UTC 2022 x86_64 GNU/Linux` I am trying to push to a repository with an existing private key,...
Via the README: https://github.com/rust-lang/git2-rs#building-on-osx-1010 > If the ssh feature is enabled (and it is by default) then this library depends on libssh2 which depends on OpenSSL. To get OpenSSL working...
This function is called by pretty much everything in this crate. ```rust fn init() { static INIT: Once = Once::new(); INIT.call_once(|| { openssl_env_init(); }); raw::init(); } ``` The problem is...
Hello, I a trying to implement an interactive rebase to modify all commit in a repository, **including the first one**. The git cli provides the `--root` option to do so...
How should I write this C code in Rust: `commit->object.flags & PATCHSAME` (https://github.com/git/git/blob/master/sequencer.c#L5187)? Object flags are not accessible.
Fetching a remote branch does not seem to work in any capacity. If it does the docs really need to better document this behavior as it does not seem to...
Ideally, this would include allowing creation of custom filters (trait name recommendations appreciated). Specifically, I think I'll need: * git_filter * git_filter_register * git_blob_filtered_content I may work on this for...
libgit2 supports creating an in-memory repository that doesn't write to disk at all. This is useful for applications that only need to clone a repo once to do some analysis...
I've been looking through the docs, I don't see an obvious way to keep a ssh connection open to specific host, in ssh world also known as "ControlMaster". For canonical...