diff --git a/name-hash.c b/name-hash.c index 4d6544af30..fcd2f90cf7 100644 --- a/name-hash.c +++ b/name-hash.c @@ -319,7 +319,7 @@ void precompute_istate_hashes(struct cache_entry *ce) } else { namelen--; ce->precompute_hash_dir = memihash(ce->name, namelen); - ce->precompute_hash_name = memihash2( + ce->precompute_hash_name = memihash_cont( ce->precompute_hash_dir, &ce->name[namelen], ce_namelen(ce) - namelen); ce->precompute_hash_state =