The `reset` call now removes the pushed commits so we can reuse the revwalker. The API documentation has been updated with the details.