mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
radicle-tauri: Fix access to ref formatting
Upstream introduced a new `fmt` module to use.
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user