| 107 | } |
| 108 | |
| 109 | void fill_fsmonitor_bitmap(struct index_state *istate) |
| 110 | { |
| 111 | unsigned int i, skipped = 0; |
| 112 | istate->fsmonitor_dirty = ewah_new(); |
| 113 | for (i = 0; i < istate->cache_nr; i++) { |
| 114 | if (istate->cache[i]->ce_flags & CE_REMOVE) |
| 115 | skipped++; |
| 116 | else if (!(istate->cache[i]->ce_flags & CE_FSMONITOR_VALID)) |
| 117 | ewah_set(istate->fsmonitor_dirty, i - skipped); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | void write_fsmonitor_extension(struct strbuf *sb, struct index_state *istate) |
| 122 | { |
no test coverage detected