Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently trying to understand what a
changedeletesign exactly means. The code describes a changedelete as either the last line of a hunk where more lines were deleted than added, or all lines in a change hunk and the previous hunk is a topdelete.https://github.com/lewis6991/gitsigns.nvim/blob/main/lua/gitsigns/hunks.lua#L272-L272
I get the first condition to mark a hunk has more deletions than additions, but what is the reason for the second conditions. What makes a topdelete so special that any arbitrary change hunk is considered a changedelete?
Beta Was this translation helpful? Give feedback.
All reactions