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 | 80ec734a953d930838ea6839923c97c3da880a0d (patch) | |
tree | c47aa12434ae72adf40e9add03245ae58b6b697e /src/index.cc | |
parent | 799c22f63b93e9d1ab8f01473bf9ebd2e9750f43 (diff) |
Squashed 'gitstatus/' changes from 845f492f..2ecd9907
2ecd9907 add logging to debug https://github.com/romkatv/powerlevel10k/issues/1477
74010456 add a TODO to fix #254
864f1caf Trim '\w' part of bash prompt. (#253)
git-subtree-dir: gitstatus
git-subtree-split: 2ecd990706255d2000fedbde3b2d2353f63d69a1
Diffstat (limited to 'src/index.cc')
-rw-r--r-- | src/index.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.cc b/src/index.cc index ae8ca54c..4d66876b 100644 --- a/src/index.cc +++ b/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(""); |