Open sharpobject opened 8 years ago
I would also look into https://github.com/libgit2/libgit2 and it's Ruby API https://github.com/libgit2/rugged support, as GitHub likely uses those. And if not present, make a feature request there as well.
It looks like this is supported in libgit2 but not in rugged.
Has this suggestion been emailed to GitHub?
Yes!
:+1:, with the caveat that the implemented default diff algorithm should be the faster-than-Myers "histogram" variant of the patience algorithm.
:+1:
I prefer the "histogram" algorithm. We should be able to choose.
I've seen a case where histogram
produced a diff that was just as bad as default
, while patience
was able to present changes in a very human friendly way.
Hello,
I use diffs on github and github enterprise a lot. I would prefer if they were generated using the Patience Diff algorithm, so that they would be less noisy and closer to the intent of the author of the change. I would write a big explanation of why Patience Diff is better, but Bram Cohen already wrote one at http://bramcohen.livejournal.com/73318.html
This doesn't need to be "settings creep." Just generate all diffs on the entire site using Patience Diff and take away the option to use an inferior algorithm.