diff: don't read index when --no-index is given