Commit 35e180b
Apply exclude patterns when shoveling into FileList
FileList#<< pushed the new entry after resolve and never ran it
through excluded_from_list?, so a name added after #exclude (or one
matching a default ignore pattern such as core or *.bak) leaked into
the list while #include correctly dropped it. Filter the appended
name so #<< shares the same exclusion semantics as #include, which
also means default ignore patterns now apply to shoveled entries.
#637
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f7e9df5 commit 35e180b
2 files changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
103 | 118 | | |
104 | 119 | | |
105 | 120 | | |
| |||
0 commit comments