[darcs-users] patience diff now in the reviewed branch

Guillaume Hoffmann guillaumh at gmail.com
Thu Oct 10 16:30:48 UTC 2013


Short summary: darcs now uses a diff algorithm that generates more
"human" hunks, especially when editing code written in languages with
curly brackets.


I've recently pushed José Neder's patches (based on code written by
David Roundy) to the reviewed branch of darcs. See:

* http://bugs.darcs.net/issue346
* http://bugs.darcs.net/patch1083
* http://blog.jlneder.com.ar/2013/07/patience-diff-algorithm-benefits-for.html

It is now the default diff algorithm, affecting the commands whatsnew,
record, amend, and a few others.

It is still possible to use the previous diff algorithm by passing the
--myers flag to these commands.

Guillaume


More information about the darcs-users mailing list