commit 49307efefc236997dc103c7749064d68b089c88f from: Neels Hofmeyr date: Thu Oct 22 01:17:21 2020 UTC debug: patience: mark unique debug commit - 74ad6a6944bd0588c940347378cc2b713a89ec95 commit + 49307efefc236997dc103c7749064d68b089c88f blob - 7dcfd74d9e824db631a9d3bc775f8e4ff365720c blob + 1be7a18011adfe942fd9dc032d0562cd20ce1673 --- lib/diff_patience.c +++ lib/diff_patience.c @@ -284,6 +284,8 @@ diff_atoms_mark_unique_in_both(struct diff_data *left, unsigned int count_first_side = 1; unsigned int count_other_side = 0; a = all_atoms[i]; + debug("a: "); + debug_dump_atom(a->root, NULL, a); for (j = i+1; j < len; j++) { b = all_atoms[j]; @@ -298,6 +300,10 @@ diff_atoms_mark_unique_in_both(struct diff_data *left, count_first_side ++; else count_other_side ++; + debug("b: "); + debug_dump_atom(b->root, NULL, b); + debug(" count_first_side=%d count_other_side=%d\n", + count_first_side, count_other_side); } /* Counted a section of similar atoms, put the results back to