Commit Diff


commit - 0d27172a828e5ff3c6457cbf0d36a88c9bd8e370
commit + ab699b5cc3fb94b67d92e8c8a90535a94f99f30b
blob - 9d6b49e69f97d7d22f37fd297adf27243d920387
blob + 579043b08b7229d4604cfc69e0b2ce55fb46c8f5
--- lib/diff_patience.c
+++ lib/diff_patience.c
@@ -178,7 +178,7 @@ diff_atoms_swallow_identical_neighbors(struct diff_dat
 			struct diff_atom *l_end;
 			struct diff_atom *r_end;
 			l_end = &left->atoms.head[identical_l.end];
-			l_end = &right->atoms.head[identical_r.end];
+			r_end = &right->atoms.head[identical_r.end];
 			if (!l_end->patience.unique_in_both)
 				continue;
 			/* Part of a chunk of identical lines, remove from