Skip to content

v0.1.3

Choose a tag to compare

@joeinnes joeinnes released this 03 Mar 16:46
39f7625

Safer creates and tidier output.

Adds atomic rollback to cow create, a new --from flag for branching from an arbitrary revision, automatic pruning of stale worktree refs, and ~-contraction in cow list output.

Improvements

  • feat cow create --from <rev> — branch the new workspace from an arbitrary revision rather than always using the source HEAD.
  • fix cow create now performs atomic rollback on failure: any partially written workspace directory and git worktree entry are cleaned up before returning an error.
  • fix Stale git worktree refs left behind by a previous failed clone are pruned automatically on the next cow create.
  • fix cow list now contracts the home directory to ~ in path output, keeping lines short on typical setups.