From 876d22b072f5190db3b6c28208fd9cf4920ebf3a Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Sat, 13 Sep 2025 11:39:45 +0200 Subject: [PATCH] remote-helper: Remove unused push error variant --- crates/radicle-remote-helper/src/push.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/radicle-remote-helper/src/push.rs b/crates/radicle-remote-helper/src/push.rs index 760cd5d9..df8c3d4e 100644 --- a/crates/radicle-remote-helper/src/push.rs +++ b/crates/radicle-remote-helper/src/push.rs @@ -5,7 +5,7 @@ mod error; use std::collections::HashMap; use std::io::IsTerminal; -use std::path::{Path, PathBuf}; +use std::path::Path; use std::process::ExitStatus; use std::str::FromStr; use std::{assert_eq, io}; @@ -36,10 +36,6 @@ use crate::{hint, read_line, Options, Verbosity}; #[derive(Debug, Error)] pub enum Error { - #[error( - "the Git repository found at {path:?} is a bare repository, expected a working directory" - )] - BareRepository { path: PathBuf }, /// Public key doesn't match the remote namespace we're pushing to. #[error("cannot push to remote namespace owned by {0}")] KeyMismatch(Did),