Commit 0caa94c
committed
Filter out project early if it doesn't have any formattable documents
Improves the runtime in large solutions when a small number of files is
included (`--include`). This is a common use-case for developers to
lint/format only modified files in their branch.
In a solution with about 80 projects, this improves the runtime by about
50% when `--include SomeProject/SomeFile.cs` is specified.
Related issues: #1378 and
#7571 parent e473b1d commit 0caa94c
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
286 | 291 | | |
287 | 292 | | |
288 | 293 | | |
| |||
0 commit comments