Files
gastown/internal
slit 1f364ee540 perf(git): enable parallel checkout for faster worktree creation
Configure checkout.workers=0 (auto-detect CPU count) on all clone
operations. Git 2.33+ supports this feature which parallelizes file
creation during checkout, significantly speeding up worktree creation.

This is applied to:
- Clone() - regular clones
- CloneWithReference() - clones with local reference
- CloneBare() - bare clones (primary source for worktrees)
- CloneBareWithReference() - bare clones with reference

The config is set per-repo so worktrees inherit it automatically.
Older git versions silently ignore this config (non-fatal).

Recovered from: 4ed3e983 (lost commit)
2026-01-26 12:28:25 -08:00
..