feat(git): Remove the failure code from the error type

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2025-07-03 23:15:19 +02:00
parent b46621f772
commit 002c85329e
3 changed files with 2 additions and 5 deletions

2
Cargo.lock generated
View File

@@ -207,7 +207,7 @@ dependencies = [
[[package]]
name = "git"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"anyhow",
"command-with-spinner",

View File

@@ -1,6 +1,6 @@
[package]
name = "git"
version = "0.1.0"
version = "0.2.0"
edition.workspace = true
authors.workspace = true

View File

@@ -1,9 +1,6 @@
/// Git operations error type
#[derive(Debug, thiserror::Error)]
pub enum GitError {
#[error("Command failed with exit code: {0}")]
Failed(i32),
#[error("Command failed without exit code")]
FailedNoCode,