| 645 | } |
| 646 | |
| 647 | void remove_name_hash(struct index_state *istate, struct cache_entry *ce) |
| 648 | { |
| 649 | if (!istate->name_hash_initialized || !(ce->ce_flags & CE_HASHED)) |
| 650 | return; |
| 651 | ce->ce_flags &= ~CE_HASHED; |
| 652 | hashmap_remove(&istate->name_hash, &ce->ent, ce); |
| 653 | |
| 654 | if (ignore_case) |
| 655 | remove_dir_entry(istate, ce); |
| 656 | } |
| 657 | |
| 658 | static int slow_same_name(const char *name1, int len1, const char *name2, int len2) |
| 659 | { |
no test coverage detected