### Describe the bug When you change multiple consecutive lines and then try to stage just the first change, this results in the wrong patch. ### To Reproduce Steps to reproduce the behavior: 1. Take the following file: ``` int main() { // init something int i = 0; return 0; } ``` 2. Update it to: ``` int main() { // init variables int x = 0; return 0; } ``` 3. Now in LazyGit try to only stage the comment-line: <img width="419" height="638" alt="Image" src="https://github.com/user-attachments/assets/29daf2c9-8437-448a-8683-eea14e35bc6a" /> 4. The actual result The lines are shuffeled: <img width="383" height="635" alt="Image" src="https://github.com/user-attachments/assets/097c00a8-7ad3-4031-b3ae-4b7cf93fa3bb" /> ### Expected behavior The comment should be staged without changing the order of the lines: (This has been done with git-gui) <img width="379" height="629" alt="Image" src="https://github.com/user-attachments/assets/df3b48ca-b93c-448a-9310-9c9f506314a4" /> ### Version info: ``` commit=, build date=, build source=Homebrew, version=0.57.0, os=darwin, arch=arm64, git version=2.52.0 ``` I already tried to find a duplicate of this one but failed, maybe due to the keyword I was using ;)