read-cache.c: kill read_index()