name-hash.c: use new hash map implementation for directories
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 5e3fc72fd40f49638c24c632121810468fb3acea..f9b13ecb3f4c5a4600f8a69aa841ed7436282b89 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -4,6 +4,7 @@
 #include "git-compat-util.h"
 #include "strbuf.h"
 #include "hash.h"
+#include "hashmap.h"
 #include "advice.h"
 #include "gettext.h"
 #include "convert.h"
@@ -278,7 +279,7 @@ struct index_state {
        unsigned name_hash_initialized : 1,
                 initialized : 1;
        struct hash_table name_hash;
-       struct hash_table dir_hash;
+       struct hashmap dir_hash;
 };
 
 extern struct index_state the_index;