Merge pull request #3117 from gsd-build/fix/3056-pruneorphanedworktrees-destroys-linked-w

fix: make orphaned worktree prune non-destructive by default
This commit is contained in:
Tom Boucher
2026-05-04 23:31:13 -04:00
committed by GitHub
3 changed files with 43 additions and 52 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 3117
---
**Worktree prune regression checks are now path-normalized** — pruning safety tests now parse `git worktree list --porcelain` and assert structured normalized paths, preventing path-separator false negatives across platforms while preserving non-destructive prune guarantees.