Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
radicle-tauri: Depend on `git2`
Lorenz Leutgeb committed 1 month ago
commit 34706164e5722c9353b36493dceb6ec45d165f96
parent 3e5d277
3 files changed +3 -1
modified Cargo.lock
@@ -4301,6 +4301,7 @@ dependencies = [
 "anyhow",
 "base64 0.22.1",
 "either",
+
 "git2",
 "infer",
 "log",
 "radicle",
modified crates/radicle-tauri/Cargo.toml
@@ -18,6 +18,7 @@ tauri-build = { version = "2.2.0", features = ["isolation"] }
anyhow = { version = "1.0.90" }
base64 = { version = "0.22.1" }
either = { version = "1.15" }
+
git2 = { version = "0.20.4", default-features = false, features = ["vendored-libgit2"] }
infer = { version = "0.19.0" }
log = { version = "0.4.22" }
radicle = { version = "0.22" }
modified crates/radicle-tauri/src/commands/repo.rs
@@ -98,7 +98,7 @@ pub(crate) async fn create_repo(
    let profile = &ctx.profile;
    let storage = &profile.storage;
    let signer = ctx.profile.signer()?;
-
    let config = radicle::git::raw::Config::open_default()?;
+
    let config = git2::Config::open_default()?;
    // SAFETY: "master" is always a valid RefString
    let default_branch = git::RefString::try_from(
        config