commit only if there is something to commit