Commit aa61bde
Just: size batches for the argument a command hands on, not the line it is on
A single argument is capped far below the whole command line, at 128KB against 2MB on
Linux, and a command that passes its arguments on through a shell arrives as one of
them. Sizing batches by the line alone let a large enough tree build one argument over
that cap, which fails as an `execv` error from whatever did the handing on, naming
neither this file nor the files it was given.
Also says how an exclusion is matched, as it is against the path the walk built rather
than the one on the command line, and the natural way to name a directory only matches
when the walk starts above it.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent b7d9351 commit aa61bde
2 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
37 | | - | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
45 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
| |||
0 commit comments