revert: make revert --interactive use git style diff

Authored by Laurent Charignon <lcharignon@fb.com>.

Description

revert: make revert --interactive use git style diff

This allows us to use existing code to detect files that are newly added and
modified. In turn, this allows us to make revert --interactive support
editing newly added and modified files.

Details

Committed
Laurent Charignon <lcharignon@fb.com>May 21 2015, 5:25 PM
Parents
rHG07326d76f19d: record: extract code to compute newly added and modified files
Branches
Unknown
Tags
Unknown