File Diff using the Patience Diff algorithm
OCaml Roff Perl Standard ML Shell Common Lisp Makefile
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bench v0.11.117.13+14 Jun 28, 2018
bin
lib
test
.gitignore 114.35+03 Mar 7, 2017
CHANGES.md v0.11.117.00+101 Mar 29, 2018
CONTRIBUTING.md v0.11.117.08+54 May 23, 2018
LICENSE.md
Makefile
README.md
build-rpm.sh
jbuild
patdiff.man
patdiff.opam v0.11.117.19+55 Aug 10, 2018
patdiff.pkg.sexp

README.md

Patdiff - colored patience diffs with word-level refinement

Patdiff is an OCaml implementation of Bram Cohen's patience diff algorithm, with a few extra conveniences for comparing code and config files:

  • outputs plain ASCII, ANSI color codes, or HTML
  • optional semantic diffing of numbers (screenshot)
  • good word-level diffing out of the box (screenshot)

And of course all the usual features:

  • recursive diffing of directories
  • extensively configurable output (markers, colors, location format, context)
  • whitespace-aware diffing