MCPcopy Create free account
hub / github.com/git/git / invalidate_ce_fsm

Function invalidate_ce_fsm

fsmonitor.c:197–205  ·  view source on GitHub ↗

* Invalidate the FSM bit on this CE. This is like mark_fsmonitor_invalid() * but we've already handled the untracked-cache, so let's not repeat that * work. This also lets us have a different trace message so that we can * see everything that was done as part of the refresh-callback. */

Source from the content-addressed store, hash-verified

195 * see everything that was done as part of the refresh-callback.
196 */
197static void invalidate_ce_fsm(struct cache_entry *ce)
198{
199 if (ce->ce_flags & CE_FSMONITOR_VALID) {
200 trace_printf_key(&trace_fsmonitor,
201 "fsmonitor_refresh_callback INV: '%s'",
202 ce->name);
203 ce->ce_flags &= ~CE_FSMONITOR_VALID;
204 }
205}
206
207static size_t handle_path_with_trailing_slash(
208 struct index_state *istate, const char *name, int pos);

Calls

no outgoing calls

Tested by

no test coverage detected