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>
This commit is contained in:

committed by
Junio C Hamano

parent
f79d9c5814
commit
e05881a457
3
cache.h
3
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;
|
||||
|
Reference in New Issue
Block a user