name-hash.c: remove cache entries instead of marking them CE_UNHASHED
authorKarsten Blees <karsten.blees@gmail.com>
Thu, 14 Nov 2013 19:22:27 +0000 (20:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2013 21:04:24 +0000 (13:04 -0800)
The new hashmap implementation supports remove, so really remove unused
cache entries from the name hashmap instead of just marking them.

The CE_UNHASHED flag and CE_STATE_MASK are no longer needed.

Keep the CE_HASHED flag to prevent adding entries twice.

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found