| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Every worktree creation (resolve_subproject.make_worktree, not just /enter) now prunes the repo's surplus worktrees so day-to-day work stops accumulating disk. - config: flat worktree.keep_recent (default 5); no repos map — a repo's .devloop/config.json overrides the global via the existing distance-layered load(). Semantics: N>0 keep N newest, 0 keep none, N<0 disable. - pruning targets only devloop-managed worktrees under <main>/.worktrees/ (and legacy worktrees/); primary checkout and external/sibling worktrees untouched. - protections: the just-made worktree, ones held by another live session, and dirty ones (non-force git worktree remove refuses them) are spared. Branches are kept — a removed worktree's branch survives and re-enter rebuilds it. - recency ranks on per-worktree git index mtime (+ dir mtime), not HEAD commit time, which would tie worktrees sharing a trunk baseline.
|
🤖 devloop code-review · origin/main..HEAD · be50b28e7 · models: deepseek-v4-pro×7, seed-2.1-pro×7, seed-2.1-turbo×7 · cost: 602s · ccr v1.7.1 ✅ 无 findings(clean)。 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Every worktree creation (resolve_subproject.make_worktree, not just /enter) now
prunes the repo's surplus worktrees so day-to-day work stops accumulating disk.
.devloop/config.json overrides the global via the existing distance-layered
load(). Semantics: N>0 keep N newest, 0 keep none, N<0 disable.
legacy worktrees/); primary checkout and external/sibling worktrees untouched.
dirty ones (non-force git worktree remove refuses them) are spared. Branches
are kept — a removed worktree's branch survives and re-enter rebuilds it.
time, which would tie worktrees sharing a trunk baseline.