Skip if nothing to commit.