Partial staging stages additional (deleted) lines selects consecutive lines as well #34360
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
feature-request
Request for new features or functionality
git
GIT issues
Milestone
Suppose I have 4 total changes: 1 addition and 3 deletions. All these lines are consecutive (so a one "hunk" in Git GUI)
I want to partially stage only the 1 addition.
In Git GUI I would do this:
But in VSCode when I try to stage only the 1 addition, it stages the 3 deletions next to it too:
And when I try to unstage the 2 deletions it again unstages the 1 addition right before it as well:
Steps to Reproduce:
repro: https://github.com/laggingreflex/vscode-git-test
(Steps to Reproduce in repro readme)
The text was updated successfully, but these errors were encountered: