editor: Fix git-hunk toggling for adjacent hunks (#43187)

Closes #42934 

Release Notes:

- Fix toggling adjacent git-diff hunks based on the reported behaviour
in #42934

---------

Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
2d071b0cb6Sean Hagstrom committed on 12/18/2025, 3:45:55 PM· committed by GitHubparentbd2b0de
2 files changedLine totals unavailable