| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | |
| Fri, 21 Mar 2008 20:16:24 +0000 (13:16 -0700) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Wed, 9 Apr 2008 08:22:25 +0000 (01:22 -0700) | ||
| commit | 96872bc200c41407607019c1f0fb005840f576a2 | |
| tree | aea5cfc1eacd523a9616eb7e2e0b567ad3d9a757 | tree | snapshot |
| parent | 75dc6c7cb879d0018893baf6ba6b49d1f16e1b92 | commit | diff |
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>
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 | diff | blob | history | |
| builtin-read-tree.c | diff | blob | history | |
| cache.h | diff | blob | history | |
| name-hash.c | [new file with mode: 0644] | blob |
| read-cache.c | diff | blob | history |