Support for diff2 using a branch. Fixes #90.