top | item 44177538

(no title)

devman0 | 9 months ago

git does have word diffing if you need something more granular than line diffing, the default delimiter being whitespace.

discuss

order

itake|9 months ago

oo 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|9 months ago

You can use `delta` as a diff pager and it includes word-diff-syntax-highlight.