0.0.3-alpha.4
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/knowledge-git-lib/src/error.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Recoverable errors for controlled Git process execution.
|
||||
|
||||
@@ -30,6 +30,10 @@ pub enum GitOperation {
|
||||
PreserveCandidate,
|
||||
/// Remove one backend-owned candidate worktree.
|
||||
RemoveWriteWorktree,
|
||||
/// Observe the current state of one remote branch.
|
||||
InspectRemote,
|
||||
/// Push one candidate revision with an explicit compare-and-exchange guard.
|
||||
PushCandidate,
|
||||
}
|
||||
|
||||
impl std::fmt::Display for crate::GitOperation {
|
||||
@@ -47,6 +51,8 @@ impl std::fmt::Display for crate::GitOperation {
|
||||
crate::GitOperation::CommitCandidate => return formatter.write_str("commit candidate"),
|
||||
crate::GitOperation::PreserveCandidate => return formatter.write_str("preserve candidate"),
|
||||
crate::GitOperation::RemoveWriteWorktree => return formatter.write_str("remove write worktree"),
|
||||
crate::GitOperation::InspectRemote => return formatter.write_str("inspect remote branch"),
|
||||
crate::GitOperation::PushCandidate => return formatter.write_str("push guarded candidate"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user