Commit Diff


commit - cec776f209b55b642230c6ba5ac2454dc5e18f14
commit + 165321bcd592d0b5ab8c28575264f22e58500592
blob - 3cd504beb19cf6cc9b4c82cede0854839951f2c4
blob + a77e578fed2a1e759424a3853d595bb888a4ecc8
--- lib/diff_myers.c
+++ lib/diff_myers.c
@@ -491,7 +491,7 @@ static void diff_divide_myers_backward(struct diff_dat
 			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]);