From 69fc26c3a1cab671b4d8af418fdcbabb4397addc Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 26 Dec 2019 20:32:18 +0100 Subject: [PATCH] fixup! fscache: remember not-found directories Signed-off-by: Johannes Schindelin --- compat/win32/fscache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compat/win32/fscache.c b/compat/win32/fscache.c index 7427ecb85f..7075281d2c 100644 --- a/compat/win32/fscache.c +++ b/compat/win32/fscache.c @@ -420,7 +420,8 @@ static struct fsentry *fscache_get(struct fscache *cache, struct fsentry *key) * thing as far as fscache is concerned). */ fse = fsentry_alloc(cache, key->list->list, - key->list->name, key->list->len); + key->list->dirent.d_name, + key->list->len); fse->st_mode = 0; hashmap_add(&cache->map, &fse->ent); }