This commit is contained in:
Roman Perepelitsa 2021-08-18 17:05:04 +02:00
commit ec44300155
6 changed files with 23 additions and 12 deletions

View file

@ -242,6 +242,7 @@ std::vector<const char*> ScanDirs(git_index* index, int root_fd, IndexDir* const
dir.st = st;
}
entries.clear();
arena.Reuse();
if (!ListDir(*dir_fd, arena, entries, caps.precompose_unicode, caps.case_sensitive)) {
AddUnmached("");