From ff96d98d79e886118805d1b0fbfd3156dfd97c35 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 2 Feb 2026 14:25:21 -0600 Subject: [PATCH] Suppress output during git index refresh in syncback - Updated the `refresh_git_index` function to redirect both stdout and stderr to null, preventing unnecessary output during the execution of the `git update-index --refresh` command. This change enhances the user experience by reducing clutter in the console logs. --- src/cli/syncback.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cli/syncback.rs b/src/cli/syncback.rs index b6ffea59..a4219e58 100644 --- a/src/cli/syncback.rs +++ b/src/cli/syncback.rs @@ -366,6 +366,8 @@ fn refresh_git_index(project_dir: &Path) { match Command::new("git") .args(["update-index", "--refresh", "-q"]) .current_dir(project_dir) + .stdout(Stdio::null()) + .stderr(Stdio::null()) .status() { Ok(_) => log::info!("Git index refreshed."),