summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorKarsten Blees <karsten.blees@gmail.com>2013-11-14 20:20:58 +0100
committerJunio C Hamano <gitster@pobox.com>2013-11-18 13:04:23 -0800
commite05881a4577cedca4d7456b3cb1f8bbd6f480df2 (patch)
tree4384fed8340d0f5bff3f15abcb0dc25cffde65e0 /cache.h
parentf79d9c581437d8f48e10506e62c34b9718c7f3f7 (diff)
downloadgit-e05881a4577cedca4d7456b3cb1f8bbd6f480df2.tar.gz
name-hash.c: use new hash map implementation for directories
Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 5e3fc72fd4..f9b13ecb3f 100644
--- 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;