Closed LollipopFt closed 3 years ago
Duplicate of #345
The first manipulated line at the end of the file contains }
, which means adding some extra chars creates a "modified hunk". Git interprets all following lines added as "belonging to this hunk". This is the way git works. GitGutter just interprets the output of git diff
and adds gutter icons accordingly.
Description
When I add a new line, modify icon is displayed instead of insert icon. https://user-images.githubusercontent.com/62802897/121004990-e6d0ef00-c7c1-11eb-965f-94df82e0692d.mp4 As can be seen, delete icon works as expected, but modify icon appears for both inserted lines and modified lines.
Support Info
Steps to Reproduce Issue