git2-rs
git2-rs copied to clipboard
libgit2 bindings for Rust
I am contributing OpenPGP signing for *commits* to `gitui` in https://github.com/extrawurst/gitui/pull/1544 and noticed that git handles tags in a different way. Does someone have more information for me on **how...
I would be interested if its technically possible to change the underlying ssh used by libgit2 to be able to for example use [russh](https://github.com/warp-tech/russh) ?
Hi, I've been looking at the security of the cargo / crates.io ecosystem, and I've noticed that it depends heavily on the security of TLS. The index of crates is...
add `message` func, can set message when call `stash_save_ext`
Fixes https://github.com/rust-lang/git2-rs/issues/1033. Here's an example run of the example from that issue, but with the fix: ``` > cargo run --release Creating repo at "/var/folders/0h/1lcyrkv11ynfjq5w7bt0sl_00000gn/T/git-repo-_YIz7w.git" Populating repo Repo populated Walking...
The problem is that the [callback wrapper](https://github.com/rust-lang/git2-rs/blob/3da58f3ee344278115f87b7b2d82a5ecc294a170/src/tree.rs#L218) in the `walk()` implementation assumes utf-8 for the root name. However, this is not required by base Git or libgit2. Other git2-rs methods...
this will enable the use of OpenSSH instead of libssh hopefully fixing a bunch of problems
This uses the new support in libgit2 for [the worktree-config extension][1]. [1]: https://git-scm.com/docs/git-worktree/2.35.1#_configuration_file See also https://github.com/libgit2/libgit2/pull/6202. --- I suspect there is more work to be done on this PR, but...
**How to reproduce:** 1. Use a machine running macOS 11 with [MacPorts](https://www.macports.org/) installed 2. Install `libiconv` using MacPorts: `sudo port install libiconv` Note: many common ports depend on `libiconv` so...
I have fill all of the values, I want to know what's wrong with these code. OS: Windows 11 rustc: 1.70.0 (90c541806 2023-05-31) git2: 0.17.2 My code: ``` fn push_repo()...