read-cache.c: remove the_* from index_has_changes()