Description:
When attempting to stage specific lines using the Working Tree UI, Cursor incorrectly stages a different file instead of the selected lines.
Steps to Reproduce:
-
Open Working Tree UI
-
Select specific lines to stage in a file
-
Click to stage the selected lines
-
Check Git status
Expected Behavior:
Only the selected lines from the chosen file should be staged.
Actual Behavior:
A completely different file gets staged instead of the selected lines.
Environment:
- Cursor Version: 0.42.2
- VSCode Version: 1.93.1
- OS: ios
- git version 2.39.3 (Apple Git-146)