Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
radicle: Allow all references to be included in sigrefs
Merged Defelo opened 3 months ago
1 file changed +1 -11 67dee655 a4e66d14
modified crates/radicle/src/storage/git.rs
@@ -752,17 +752,7 @@ impl ReadRepository for Repository {
            let oid = e.resolve()?.target().ok_or(Error::InvalidRef)?;
            let (_, category, _, _) = refname.non_empty_components();

-
            use git::fmt::{component, name};
-

-
            if [
-
                name::HEADS,
-
                name::TAGS,
-
                name::NOTES,
-
                &component!("rad"),
-
                &component!("cobs"),
-
            ]
-
            .contains(&category.as_ref())
-
            {
+
            if category != git::fmt::component!("tmp") {
                refs.insert(refname.into(), oid.into());
            }
        }