Fix race conditions in updating buffer diffs on git changes (#26409)

Release Notes:

- N/A

---------

Co-authored-by: Cole Miller <m@cole-miller.net>
1a3597d726Max Brunsfeld committed on 3/10/2025, 11:52:18 PM· committed by GitHubparentc747ccc
2 files changedLine totals unavailable