Hacker News new | ask | show | jobs
by hobarrera 3781 days ago
I didn't quite like this, put it does reference diff-hightlight, which is part of git-contrib (so it may already be installed on your system, but just not in your $PATH!):

https://github.com/git/git/tree/master/contrib/diff-highligh...

For example, here's a diff where it improved readability enormously:

https://i.imgur.com/8iQNaeu.png

1 comments

Yes, the code in that sample is horrible triplicate. Please ignore that.