diff: handle --no-abbrev in no-index case