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

Release Notes:

- N/A
acee48bfdaCole Miller committed on 12/23/2025, 2:32:55 AM· committed by GitHubparent71298e6
1 file changedLine totals unavailable