update: clone from a cache with –no-checkout
When a project is cloned from a cache, west checks out the manifest revision right afterwards. Until now, the files were first written at the HEAD of the cache by ‘git clone’ and ‘git checkout –detach’, and right afterwards again at the manifest revision. This matters for big projects like zephyr (~60k files).
Clone with –no-checkout and detach HEAD with ‘git update-ref –no-deref’ instead, so the files are written only once, at the manifest revision.
Co-Authored-By: Claude Opus 5.5 (1M context) noreply@anthropic.com Signed-off-by: Thorsten Klein thorsten.klein.git@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号