4 ms·
Not as fancy, but if you want halfway reasonable word-level diffs with just standard issue git, this is often good enough: git diff --color-words --word-diff
by montroser 2y ago
Not as fancy, but if you want halfway reasonable word-level diffs with just standard issue git, this is often good enough:
git diff --color-words --word-diff-regex='\w+|.'