fixing a bug: i was passing the parent and commit switched to diffformatter, so it was giving us wrong stuff