Skip to content

Commit 69fc26c

Browse files
committed
fixup! fscache: remember not-found directories
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 7718c58 commit 69fc26c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compat/win32/fscache.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,8 @@ static struct fsentry *fscache_get(struct fscache *cache, struct fsentry *key)
420420
* thing as far as fscache is concerned).
421421
*/
422422
fse = fsentry_alloc(cache, key->list->list,
423-
key->list->name, key->list->len);
423+
key->list->dirent.d_name,
424+
key->list->len);
424425
fse->st_mode = 0;
425426
hashmap_add(&cache->map, &fse->ent);
426427
}

0 commit comments

Comments
 (0)