3 ms·
git does have word diffing if you need something more granular than line diffing, the default delimiter being whitespace.
by devman0 1y ago
git does have word diffing if you need something more granular than line diffing, the default delimiter being whitespace.
- itake 1y agooo I didnt' realize that. that seems pretty close to what I want, but the git tools (cli or Github Desktop) still print the entire line. For line diffing, it clips to only show the ~3 line before and after the change. But the word diff still prints the entire line and you have to scroll to find the change in the line wrapping.
- eddd-ddde 1y agoYou can use `delta` as a diff pager and it includes word-diff-syntax-highlight.