4 int cmd__dump_fsmonitor(int ac, const char **av)
6 struct index_state *istate = &the_index;
10 if (do_read_index(istate, get_index_file(), 0) < 0)
11 die("unable to read index file");
12 if (!istate->fsmonitor_last_update) {
13 printf("no fsmonitor\n");
16 printf("fsmonitor last update %"PRIuMAX"\n", (uintmax_t)istate->fsmonitor_last_update);
18 for (i = 0; i < istate->cache_nr; i++)
19 printf((istate->cache[i]->ce_flags & CE_FSMONITOR_VALID) ? "+" : "-");