diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-08-18 18:05:04 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-08-18 18:05:04 +0300 |
commit | ec44300155e99268cb2b23deb7e789d0bb4b1723 (patch) | |
tree | 766bee13af37a2cab40fe5ceadbf7cb5b9d7b6b4 /gitstatus/src/index.cc | |
parent | 25e5f5985f0b977461c0d14663a910363684014e (diff) | |
parent | 80ec734a953d930838ea6839923c97c3da880a0d (diff) |
Merge commit '80ec734a953d930838ea6839923c97c3da880a0d'
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(""); |