Bryan Tong Minh schreef:
So this does really output a diff string? Would it be possible to return a list of diffs in the following form:
[ { 'line': 4, 'action': 'removed' }, { 'line': 7, 'action': 'modified', 'old': 'test1', 'new': 'test2' } ]
Or is this not possible with the current diff engines?
Yes. I'll add an rvdiffformat parameter (later) so the diff can be output as normal, unified or array.
Roan Kattouw (Catrope)