Skip to content

Commit 2ca3333

Browse files
committed
fixup! name-hash: precompute hash values during preload-index
1 parent a6b7197 commit 2ca3333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

name-hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ void precompute_istate_hashes(struct cache_entry *ce)
319319
} else {
320320
namelen--;
321321
ce->precompute_hash_dir = memihash(ce->name, namelen);
322-
ce->precompute_hash_name = memihash2(
322+
ce->precompute_hash_name = memihash_cont(
323323
ce->precompute_hash_dir, &ce->name[namelen],
324324
ce_namelen(ce) - namelen);
325325
ce->precompute_hash_state =

0 commit comments

Comments
 (0)