git2-rs
git2-rs copied to clipboard
libgit2 bindings for Rust
Hi all, I'm using `git2-rs`'s diff API interface and I'm trying to filter out some paths using pathspec. From Git's user manual, pathspecs should support "[magic words](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec)", which would allow...
The heuristics in openssl-probe leave the process environment with an invalid value breaking the certificate validation on FreeBSD. FreeBSD has a system truststore managed by certctl(8). Leave it to OpenSSL...
Though, I have reported [this upstream](https://github.com/alexcrichton/openssl-probe/issues/37), but since git2-rs is a downstream consumer and effectively renders the process environment useless, therefore reporting here again. `init()` calls `openssl_env_init()` in good spirit,...
Been searching through the docs for a while, I would like to modify committer and author time on commits during a rebase, is this at all possible with the libgit2...
https://github.com/libgit2/libgit2/pull/6706 adds a new `git_signature_default_from_env` that doesn't currently get exposed by git2-rs. This could be used in `Repository::signature` or a new method, doesn't really matter to me as long as...
Hi, this is my code: ```rust let mut commits = vec![]; while let Ok(parent) = commit.parent(0) { if let Ok(now) = commit.tree() { if let Ok(pre) = parent.tree() { if...
This was there when I last modified the tracing code and I left it in without checking on it but looking again at it now, it seems like it should...
Add one new function following existing code. Document is copy from libgit2.
SHA-256
Consider the improvements regarding support for SHA-256 in Git, last mentioned in the release notes for version 2.45: - https://github.com/git/git/blob/master/Documentation/RelNotes/2.45.0.txt - https://github.blog/open-source/git/highlights-from-git-2-45/ libgit2 has experimental support for SHA-256, [guarded by...
Hi, I am making a tool to mirror my repo from one git hosting platform to github. What I want to do is using git2rs to achieve: 1. git clone...