Repository navigation
Commit 0820469
fix(server): scratch cleanup keeps folders with files unless untracked files may be deleted
Every file in a No project folder is untracked and cannot be recovered.
The default keep rule protects untracked files in worktrees, but scratch
folders with content were kept only under Any local files. They are now
kept under every rule except Edited tracked files, the one documented to
delete untracked files. Empty and node_modules-only folders are still
pruned.
Co-Authored-By: Claude Fable 5.2 <[email protected]>1 parent 38a3287 commit 0820469
3 files changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2349 | 2349 | | |
2350 | 2350 | | |
2351 | 2351 | | |
| 2352 | + | |
| 2353 | + | |
2352 | 2354 | | |
2353 | 2355 | | |
2354 | 2356 | | |
| |||
2373 | 2375 | | |
2374 | 2376 | | |
2375 | 2377 | | |
| 2378 | + | |
2376 | 2379 | | |
2377 | | - | |
2378 | | - | |
2379 | | - | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
2380 | 2384 | | |
2381 | | - | |
2382 | 2385 | | |
2383 | 2386 | | |
2384 | 2387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | | - | |
| 1024 | + | |
| 1025 | + | |
1025 | 1026 | | |
1026 | 1027 | | |
1027 | 1028 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
259 | 261 | | |
260 | 262 | | |
261 | 263 | | |
| |||
0 commit comments