walles / riff

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

Special highlighting for adds-only #42

Closed walles closed 1 year ago

walles commented 1 year ago
--- /tmp/a.txt  2023-08-06 16:07:37.000000000 +0200
+++ /tmp/b.txt  2023-08-06 16:07:39.000000000 +0200
@@ -1,2 +1,2 @@
-Hello, my name is Johan
+Hello, my first name is Johan
 I like pie.

We should:

This should better illustrate adds-only changes.

walles commented 1 year ago

Test case added here: https://github.com/walles/riff/commits/johan/adds-only-highlighting