mirror of
https://github.com/przeprogramowani/10x-cli.git
synced 2026-09-19 03:30:01 +08:00
9d957e3a10
The bootstrap decides the depth (`baseRepoClone.depth`: 1 = HEAD only, null = full history); this side only executes it. `--deep` on `bench-kit init` sends `deepClone: true` in the request. `--depth` is silently ignored for a local path, so a shallow clone goes through a `file://` URL: that gives up object hardlinking, which is the point — one commit's objects instead of the whole history. Origin is re-pointed at the registered remote as before, so `git fetch --unshallow` in the clone adds the history later. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>