fixup! name-hash: precompute hash values during preload-index

This commit is contained in:
Johannes Schindelin
2016-11-18 18:34:26 +01:00
parent a6b71974e4
commit 2ca3333288

View File

@@ -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 =