diff --git a/radicle-remote-helper/src/list.rs b/radicle-remote-helper/src/list.rs index dcb265e3..540657a2 100644 --- a/radicle-remote-helper/src/list.rs +++ b/radicle-remote-helper/src/list.rs @@ -71,7 +71,10 @@ pub fn for_push(profile: &Profile, stored: &R) -> Result<(), fn patch_refs(stored: &R) -> Result<(), Error> { let patches = radicle::cob::patch::Patches::open(stored)?; for patch in patches.all()? { - let (id, patch) = patch?; + let Ok((id, patch)) = patch else { + // Ignore patches that fail to decode. + continue; + }; let head = patch.head(); if patch.is_open() && stored.commit(*head).is_ok() {