Fix stale hunks after commit (#24663)

Fixes a regression introduced in #24475.

Release Notes:

- N/A
6e7416eb00Cole Miller committed on 2/11/2025, 4:39:57 PM· committed by GitHubparentbbea3a2
2 files changedLine totals unavailable