Fix flicker when reverting last hunk from the project diff view (#26706)

Closes #26696

Closes #ISSUE

Release Notes:

- git: Fix flicker when reverting last hunk in project diff view
8361c32a34Conrad Irwin committed on 3/13/2025, 6:49:18 PM· committed by GitHubparent2edadd9
1 file changedLine totals unavailable