podhmo/dictknife

diff with word level diff

podhmo opened this issue · 4 comments

diff with word level diff
$ port contents git | grep "diff-highlight$"
  /opt/local/bin/diff-highlight
  /opt/local/share/git/contrib/diff-highlight/diff-highlight

$ cat dst/00.diff |  /opt/local/bin/diff-highlight
--- src/000person.json
+++ src/001person.json
@@ -1,5 +1,5 @@
 {
-  "name": "foo",
-  "age": 20,
+  "name": "bar",
+  "age": 21,
   "type": "person"
 }

use diff-highlight