From 60f42bff5380e3d9e0c65749e5edb44307a5f74d Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Thu, 23 Apr 2026 21:32:58 +0200 Subject: [PATCH] protocol: Minimize scope of `radicle::git::raw` A tiny refactoring to make it less inviting to use `radicle::git::raw`. --- crates/radicle-protocol/src/worker/fetch/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/radicle-protocol/src/worker/fetch/error.rs b/crates/radicle-protocol/src/worker/fetch/error.rs index caad8b05..745627cd 100644 --- a/crates/radicle-protocol/src/worker/fetch/error.rs +++ b/crates/radicle-protocol/src/worker/fetch/error.rs @@ -2,7 +2,7 @@ use std::io; use thiserror::Error; -use radicle::{cob, git::raw, identity, storage}; +use radicle::{cob, identity, storage}; use radicle_fetch as fetch; #[derive(Debug, Error)] @@ -10,7 +10,7 @@ pub enum Fetch { #[error(transparent)] Run(#[from] fetch::Error), #[error(transparent)] - Git(#[from] raw::Error), + Git(#[from] radicle::git::raw::Error), #[error(transparent)] Storage(#[from] storage::Error), #[error(transparent)]