From c824d317e47588687bbcc2ad76d84280a42582ea Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Wed, 18 Mar 2026 18:55:15 +0100 Subject: [PATCH] radicle: Fix `storage::refs::Error::is_not_found` Detection of errors of the "not found" kind does not account for the respective variant in `sigrefs::read::error::Read`. Fix this by adding it. --- crates/radicle/src/storage/refs.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/radicle/src/storage/refs.rs b/crates/radicle/src/storage/refs.rs index 510fec79..4507d215 100644 --- a/crates/radicle/src/storage/refs.rs +++ b/crates/radicle/src/storage/refs.rs @@ -50,6 +50,7 @@ impl Error { pub fn is_not_found(&self) -> bool { match self { Self::Git(e) => e.is_not_found(), + Self::Read(sigrefs::read::error::Read::MissingSigrefs { .. }) => true, _ => false, } }