commit - f8cbb8fea02ccfaa3581f70556d4670b88ce2b0d
commit + 09c9539493a3f69ab1c1e259ef4c8ea22e57f906
blob - 3cd504beb19cf6cc9b4c82cede0854839951f2c4
blob + a77e578fed2a1e759424a3853d595bb888a4ecc8
--- lib/diff_myers.c
+++ lib/diff_myers.c
x = prev_x - 1;
}
- /* Slide up any snake that we might find here. */
+ /* Slide up any snake that we might find here (sections of identical lines on both sides). */
debug("c=%d x-1=%d Yb-1=%d-1=%d\n", c, x-1, xc_to_y(x, c, delta), xc_to_y(x, c, delta)-1);
if (x > 0) {
debug(" l="); debug_dump_atom(left, right, &left->atoms.head[x-1]);