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