Water takes a unified diff and opens it in your browser – nicely formatted.
- syntax colors (CodeRay)
- highlighting of in-line changes (“eye-catchers”)
- toggle files with a click
git diff | water
svn diff -rPREV:HEAD | water
diff -wu | water
…et cetera.
gem install water
This will install a latest version of CodeRay,
and launchy (along with its dependencies) for cross-platform browser opening.