-
-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I use gitsigns to stage hunks, however the staged changes are not properly shown in DiffView.
How to reproduce:
- Open a file and add 2 new lines
- Go to the first line
- Press
V(<S-v>) for V-LINE mode - Stage the hunk (the selected line) using
:Gitsigns stage_hunk
Expected: Diff in Changes shows only the second line/Diff in Staged shows only the first line
Actual: Diff in Changes shows the first and second lines/Diff in Staged does not show any diff (check the attached video)
Reopening using :DiffViewOpen fixes the issue, however, this is pretty bad from DX as this breaks my workflow when making and staging changes through DiffView.
Screen.Recording.2023-01-03.at.13.12.48.mov
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working