From 33beac0889712e65097d77d8cfd9ad7b5717fc87 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 12:36:39 +0000 Subject: [PATCH] fix: Update git.rs with proper struct definitions --- src/git.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/git.rs b/src/git.rs index 03c9d48..b400761 100644 --- a/src/git.rs +++ b/src/git.rs @@ -4,7 +4,7 @@ use std::string::ToString; #[derive(Debug, Clone)] pub struct GitRepo { - repo_path: String, + pub repo_path: String, } #[derive(Debug, Clone)] @@ -98,7 +98,7 @@ impl GitRepo { let is_new = matches!(status, FileStatus::Added); let is_deleted = matches!(status, FileStatus::Deleted); - let is_renamed = matches!(status, FileStatus::Renamed); + let is_enamed = matches!(status, FileStatus::Renamed); let old_path = if is_renamed { Some(path.split("=>").next().unwrap_or("").trim().to_string())