mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
/raw/<rid>/archive/<ref> passed the git2 error from resolve_reference_from_short_name straight through, so a typo in the branch name or a commit SHA in place of a ref yielded a 500. Map ErrorCode::NotFound to 404 like we already do for the object lookup. Signed-off-by: Jörg Thalheim <joerg@thalheim.io>