Run git commands with async io.

Fix accidental bug introduced in ProjectDirectoryTree.
This commit is contained in:
Martín Lucas Golini
2024-03-16 21:04:56 -03:00
parent 6ae9c3198e
commit eb19d5d8ee
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ void ProjectDirectoryTree::scan( const ProjectDirectoryTree::ScanCompleteEvent&
bool found;
for ( size_t i = 0; i < namesCount; i++ ) {
found = false;
for ( auto& pattern : patterns ) {
for ( auto& pattern : mAcceptedPatterns ) {
if ( pattern.matches( names[i] ) ) {
found = true;
break;