conan icon indicating copy to clipboard operation
conan copied to clipboard

[question] conan v2: Shallow clone with conan.tools.scm.Git

Open Corristo opened this issue 3 years ago • 1 comments

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?

Corristo avatar Aug 06 '22 18:08 Corristo

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.

czoido avatar Aug 08 '22 08:08 czoido

Implemented in https://github.com/conan-io/conan/pull/11921, will be in 1.52.

memsharded avatar Aug 22 '22 11:08 memsharded

Wow that was quick. Thank you very much.

Corristo avatar Aug 22 '22 11:08 Corristo