git: Fix "Commit Tracked" being shown when files are partially staged (#45551)

Release Notes:

- N/A
This commit is contained in:
Cole Miller authored and GitHub committed 2025-12-22 21:32:55 -05:00
1 parent 71298e6949
commit acee48bfda
1 file changed
+1 -1
+1 -1
View File
@@ -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;