Use parentage to precisely include only the commits we care about.