Move name hashing functions into a file of its own
commit96872bc200c41407607019c1f0fb005840f576a2
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 21 Mar 2008 20:16:24 +0000 (21 13:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2008 08:22:25 +0000 (9 01:22 -0700)
treeaea5cfc1eacd523a9616eb7e2e0b567ad3d9a757
parent75dc6c7cb879d0018893baf6ba6b49d1f16e1b92
Move name hashing functions into a file of its own

It's really totally separate functionality, and if we want to start
doing case-insensitive hash lookups, I'd rather do it when it's
separated out.

It also renames "remove_index_entry()" to "remove_name_hash()", because
that really describes the thing better. It doesn't actually remove the
index entry, that's done by "remove_index_entry_at()", which is something
very different, despite the similarity in names.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin-read-tree.c
cache.h
name-hash.c [new file with mode: 0644]
read-cache.c