Various small improvements across crates

Most of these changes should be self-explanatory.

* Atomic fetch was no longer used
* The default policy when initializing should be 'all', as it is with
  `rad init`.
This commit is contained in:
cloudhead
2024-02-06 10:37:44 +01:00
parent bb06663d1c
commit 98c94de5e3
7 changed files with 43 additions and 22 deletions
+5
View File
@@ -354,6 +354,11 @@ impl PublicKey {
refname!("refs/namespaces").join(Component::from(self))
}
#[cfg(feature = "radicle-git-ext")]
pub fn to_component(&self) -> radicle_git_ext::ref_format::Component {
radicle_git_ext::ref_format::Component::from(self)
}
#[cfg(feature = "radicle-git-ext")]
pub fn from_namespaced(
refstr: &radicle_git_ext::ref_format::Namespaced,