that kind of logic should certainly be shared with the regular commit one