|
@@ -233,6 +233,11 @@ void FindInFiles::_scan_dir(String path, PoolStringArray &out_folders) {
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // If there is a .gdignore file in the directory, don't bother searching it
|
|
|
|
+ if (file == ".gdignore") {
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+
|
|
// Ignore special dirs (such as .git and .import)
|
|
// Ignore special dirs (such as .git and .import)
|
|
if (file == "." || file == ".." || file.begins_with(".")) {
|
|
if (file == "." || file == ".." || file.begins_with(".")) {
|
|
continue;
|
|
continue;
|