Fix selections when opening excerpt with an existing buffer that has expanded diff hunks (#44360)

Release Notes:

- N/A
7691cf341cCole Miller committed on 12/8/2025, 6:12:10 AM· committed by GitHubparent63cc90c
1 file changedLine totals unavailable