logoalt Hacker News

itake06/04/20251 replyview on HN

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.


Replies

eddd-ddde06/04/2025

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