Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: