mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-04 10:51:37 +00:00
diff_edit: delete unused error variant (since 9e9727af4e
)
This commit is contained in:
parent
5bad272e90
commit
b97fd381e5
1 changed files with 1 additions and 9 deletions
|
@ -19,7 +19,7 @@ use std::process::Command;
|
|||
use std::sync::Arc;
|
||||
|
||||
use itertools::Itertools;
|
||||
use jujutsu_lib::backend::{BackendError, TreeId};
|
||||
use jujutsu_lib::backend::TreeId;
|
||||
use jujutsu_lib::gitignore::GitIgnoreFile;
|
||||
use jujutsu_lib::matchers::EverythingMatcher;
|
||||
use jujutsu_lib::repo_path::RepoPath;
|
||||
|
@ -46,8 +46,6 @@ pub enum DiffEditError {
|
|||
},
|
||||
#[error("I/O error: {0:?}")]
|
||||
IoError(#[source] std::io::Error),
|
||||
#[error("Internal error: {0:?}")]
|
||||
InternalBackendError(BackendError),
|
||||
}
|
||||
|
||||
impl From<CheckoutError> for DiffEditError {
|
||||
|
@ -56,12 +54,6 @@ impl From<CheckoutError> for DiffEditError {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<BackendError> for DiffEditError {
|
||||
fn from(err: BackendError) -> Self {
|
||||
DiffEditError::InternalBackendError(err)
|
||||
}
|
||||
}
|
||||
|
||||
fn check_out(
|
||||
store: Arc<Store>,
|
||||
wc_dir: PathBuf,
|
||||
|
|
Loading…
Reference in a new issue