Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (15 sloc) 507 Bytes

Water

Water takes a unified diff and opens it in your browser – nicely formatted.

Features

  • syntax colors (CodeRay)
  • highlighting of in-line changes (“eye-catchers”)
  • toggle files with a click

Usage

            git diff | water
svn diff -rPREV:HEAD | water
            diff -wu | water

…et cetera.

Installation

gem install water

This will install a latest version of CodeRay,
and launchy (along with its dependencies) for cross-platform browser opening.