Skip to content

Releases

Cleft v0.1.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 03:47

Initial public release of Cleft, a pure-C17 copy-on-write replacement for git worktree on macOS APFS and Linux XFS or Btrfs (with automatic fallback to Git on other filesystems).

Highlights

  • Single stripped binary under 150 KiB with no third-party library dependencies.
  • Subtree copy-on-write cloning on macOS APFS (clonefileat) and file-level reflinks on Linux XFS/Btrfs (FICLONE).
  • In-process Git packfile, tree, and Index v2/v3/v4 reader and writer (defaults to prefix-compressed Index v4 with a TREE cache-tree).
  • Atomic native worktree registration avoiding Git's concurrent commondir race under parallel spawns.
  • Metadata verification (--verify=stat, default) and content-hash verification (--verify=hash).
  • Default-on .cleftinclude and .worktreeinclude support for Git-ignored caches, with --no-include and cleft.autoInclude opt-outs.
  • Includes man page, bash/zsh/fish completions, worktree hook scripts, and an optional Git PATH wrapper.

Install

  • Homebrew: brew tap arcadia-eng/cleft https://github.com/arcadia-eng/cleft && brew install cleft
  • Nix: nix profile install github:arcadia-eng/cleft
  • Release binaries: Download the archive for your OS and CPU below and verify against SHA256SUMS.

Documentation and benchmarks: https://cleft.arcadia.is