Commit f5cb7d3
committed
Don't scan hidden directories (.git, etc.)
Port of arduino/arduino-builder#328
When checking for updated core files, don't scan inside UNIX hidden
directories like .git. Scanning inside a GIT tree for a large project
with many branches could take many minutes of runtime and multiple GB of
RAM. This was seen in the Arduino core for the ESP8266, but is probably
also an issue for other core development teams.
Fixes arduino/arduino-builder#327
Signed-off-by: Earle F. Philhower, III <earlephilhower@yahoo.com>1 parent d550b66 commit f5cb7d3
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
0 commit comments