Open fbruetting opened 4 years ago
You can configure diff-highlight
(be sure it's on your $PATH
- it's usually distributed with git
- and there are examples for configuring the colours in the readme) so that the comments and added comment characters would be highlighted differently to show the line is 'changed' rather than 'completely' different, but there is currently no mangling of the diff contents itself. (And if this were implemented, I'm sure it would be behind a config option.)
Is you see in my screen shot, I commeted out two lines and also removed their comments. dsf however doesn’t detect that and instead renders them as complete new lines.
Meld for example detects that correctly and renders them as partly changed lines.