add_to_index 348 cache.h #define add_to_cache(path, st, flags) add_to_index(&the_index, (path), (st), (flags)) add_to_index 544 cache.h extern int add_to_index(struct index_state *, const char *path, struct stat *, int flags); add_to_index 729 read-cache.c return add_to_index(istate, path, &st, flags);