diff with word level diff
podhmo opened this issue · 4 comments
podhmo commented
diff with word level diff
podhmo commented
or fancy output
podhmo commented
podhmo commented
$ 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"
}
podhmo commented
use diff-highlight