Worktrees ~80% faster via APFS/btrfs copy-on-write directory clones in Rust

steipete · x · 2026-09-14

Peter Steinberger announces the next release creates git worktrees 80% faster and saves disk space by using copy-on-write directory clones on APFS, btrfs, XFS, and ReFS. The Rust-based @openclaw/fs-safe library exposes copyTree with native clone backends, createCloneSource for template prep, and probeTreeClone for capability detection. Caveats: btrfs snapshots exclude nested subvolumes, XFS needs reflink support, and ReFS/XFS still pay per-file metadata costs.

Related event: Git Worktree Creation Gets 80% Faster via Filesystem Clones(2 posts)→

Original post →

More from coding & agent

coding & agent channel →