You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using experimental _signs_staged_enable = true is very helpful and worked pretty well for a long time until I noticed that staging part of hunk causes signs for entire hunk to change to staged. Entire hunk does not get staged though, only status column signs are incorrect.
Description
Using experimental
_signs_staged_enable = true
is very helpful and worked pretty well for a long time until I noticed that staging part of hunk causes signs for entire hunk to change to staged. Entire hunk does not get staged though, only status column signs are incorrect.Neovim version
Operating system and version
MacOS 14.2.1
Expected behavior
Only signs for staged lines within larger hunk to change to staged while remaining signs stay at changed.
Actual behavior
Signs for entire hunk change to as if entire hunk was staged.
Minimal config
Steps to reproduce
mkdir temp; cd temp; git init
echo "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n" > file
git add file
git commit -m initial
nvim --clean -u minimal.lua file
vip>
# mark entire file as edited, marks should show and stateu
for each line3jV3j
# select lines for staging:'<,'>Gitsigns stage_hunk
# attempt to stage selection onlyStep 8. causes signs for entire hunk (buffer in our case) to change to
s
. But that's not correct, as per git'a diff of stage area:Gitsigns debug messages
The text was updated successfully, but these errors were encountered: