From acee48bfda7b71e1347129bddccfcca85d40b4c7 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Mon, 22 Dec 2025 21:32:55 -0500 Subject: [PATCH] git: Fix "Commit Tracked" being shown when files are partially staged (#45551) Release Notes: - N/A --- crates/git_ui/src/git_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs index 1323ee014f..0540bb5597 100644 --- a/crates/git_ui/src/git_panel.rs +++ b/crates/git_ui/src/git_panel.rs @@ -3638,7 +3638,7 @@ impl GitPanel { self.entry_count += 1; let is_staging_or_staged = GitPanel::stage_status_for_entry(status_entry, repo) .as_bool() - .unwrap_or(false); + .unwrap_or(true); if repo.had_conflict_on_last_merge_head_change(&status_entry.repo_path) { self.conflicted_count += 1;