Closed steliyan closed 1 year ago
Thanks for the report! Should be fixed in the latest commit.
@sindrets, thanks for the quick reaction! The fix works as expected.
This was a big pet peeve of mine, because I heavily use partial staging and I had to resort back to VS Code to double check what was actually staged.
Keep up the good work! :)
I use gitsigns to stage hunks, however the staged changes are not properly shown in DiffView.
How to reproduce:
V
(<S-v>
) for V-LINE mode:Gitsigns stage_hunk
Expected: Diff in
Changes
shows only the second line/Diff inStaged
shows only the first line Actual: Diff inChanges
shows the first and second lines/Diff inStaged
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.https://user-images.githubusercontent.com/1850292/210347148-562898cf-a44c-4d7a-9ddb-d6af341e8aac.mov