3 ms·
https://postimg.cc/4Y2Jh6pz https://postimg.cc/4Y2Jh6pz
by e12e 6y ago
https://postimg.cc/4Y2Jh6pz https://postimg.cc/4Y2Jh6pz
- jefftk 6y agoThanks! After playing with diff --color=always --side-by-side more, it looks like it colors inserted and deleted lines but not changed lines: https://www.jefftk.com/icdiff-vs-diff-color-always-side-by-side.png https://www.jefftk.com/icdiff-vs-diff-color-always-side-by-s... (And it still doesn't find changes within a line)
- e12e 6y agoI think, for changes within a line, wdiff would be the usual tool - but even if it's possible to pipe that through colordiff - I don't think there's a side-by-side mode for wdiff. But yeah, I see that in-line highlighting of changes can be helpful sometimes :)