walles / riff

A diff filter highlighting which line parts have changed
MIT License
253 stars 5 forks source link

Remove-ending-newline highlighing with added lines #40

Closed walles closed 1 year ago

walles commented 1 year ago

This diff should have a red removed-newline marker at the end of the last addition line:

--- /tmp/before.txt 2023-04-17 07:11:37.000000000 +0200
+++ /tmp/after.txt  2023-04-17 07:13:14.000000000 +0200
@@ -1 +1,3 @@
 Hello
+
+No trailing newline
\ No newline at end of file