conan
conan copied to clipboard
[question] conan v2: Shallow clone with conan.tools.scm.Git
With the conan v1 scm feature it was possible to perform a shallow clone, which can save quite a lot of time when cloning a large repository such as llvm or chromium. Is there a way to do the same with the new Git tool?
- [ x] I've read the CONTRIBUTING guide.
Hi @Corristo,
Thanks a lot for the feedback, I agree this is a valid feature for the git tool. I'm marking this as a feature and assign to 1.52 milestone.
Implemented in https://github.com/conan-io/conan/pull/11921, will be in 1.52.
Wow that was quick. Thank you very much.