Harness the power of signify(1) to sign arbitrary git objects
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

allow listing sigs of non-existent objs

+3 -3
+3 -3
src/list_signatures.rs
··· 63 63 } 64 64 65 65 fn describe_object(repo: &Repository, oid: Oid) -> Result<String> { 66 - let object = repo 67 - .find_object(oid, None) 68 - .context("Failed to find signed object")?; 66 + let Ok(object) = repo.find_object(oid, None) else { 67 + return Ok(oid.to_string()); 68 + }; 69 69 70 70 let opts = { 71 71 let mut opts = git2::DescribeOptions::new();