diff options
Diffstat (limited to 'gitstatus/src/index.cc')
-rw-r--r-- | gitstatus/src/index.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitstatus/src/index.cc b/gitstatus/src/index.cc index ae8ca54c..4d66876b 100644 --- a/gitstatus/src/index.cc +++ b/gitstatus/src/index.cc @@ -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(""); |