else
active_cache[pos]->ce_flags &= ~flag;
cache_tree_invalidate_path(active_cache_tree, path);
- active_cache_changed = SOMETHING_CHANGED;
+ active_cache_changed |= CE_ENTRY_CHANGED;
return 0;
}
return -1;
goto fail;
}
cache_tree_invalidate_path(active_cache_tree, path);
- active_cache_changed = SOMETHING_CHANGED;
+ active_cache_changed |= CE_ENTRY_CHANGED;
report("chmod %cx '%s'", flip, path);
return;
fail:
INDEX_FORMAT_LB, INDEX_FORMAT_UB);
if (the_index.version != preferred_index_format)
- active_cache_changed = SOMETHING_CHANGED;
+ active_cache_changed |= SOMETHING_CHANGED;
the_index.version = preferred_index_format;
}