Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: Allow all references to be included in sigrefs
✗ CI failure Defelo committed 3 months ago
commit d298719f845f7aed5fcb0317eb9a82d4c0bee009
parent 02318f199c6f29a2eede1f282e1f9b99927d27ec
1 failed (1 total) View logs
1 file changed +1 -14
modified crates/radicle/src/storage/git.rs
@@ -750,21 +750,8 @@ impl ReadRepository for Repository {
            let name = e.name().ok_or(Error::InvalidRef)?;
            let (_, refname) = git::parse_ref::<RemoteId>(name)?;
            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())
-
            {
-
                refs.insert(refname.into(), oid.into());
-
            }
+
            refs.insert(refname.into(), oid.into());
        }
        Ok(refs.into())
    }