Provide helpers for resyncing an index with a repo.