radicle-tauri: Fix access to ref formatting

Upstream introduced a new `fmt` module to use.
This commit is contained in:
Lorenz Leutgeb
2026-03-21 18:55:19 +01:00
parent 51430e5a9b
commit 4a644255f1
+1 -1
View File
@@ -100,7 +100,7 @@ pub(crate) async fn create_repo(
let signer = ctx.profile.signer()?;
let config = git2::Config::open_default()?;
// SAFETY: "master" is always a valid RefString
let default_branch = git::RefString::try_from(
let default_branch = git::fmt::RefString::try_from(
config
.get_string("init.defaultBranch")
.unwrap_or("master".to_owned()),