need to not fail if there is nothing to commit