Commit Diff
--- lib/diff_main.c +++ lib/diff_main.c @@ -344,6 +344,11 @@ diff_data_init_subsection(struct diff_data *d, struct { struct diff_atom *last_atom; + debug("diff_data %p parent %p from_atom %p atoms_count %u\n", + d, parent, from_atom, atoms_count); + debug(" from_atom "); + debug_dump_atom(d, NULL, from_atom); + if (atoms_count == 0) { *d = (struct diff_data){ .f = NULL,