-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git shallow cloning is not used when branch is set #106
Comments
For default branch, shallow cloning is used: pod 'YPImagePicker', :git => 'https://github.com/Yummypets/YPImagePicker.git'
I've checked |
Yes going to transfer in that repo. Want to try to make a PR for it? |
Works for me.
|
Hi paiv, I reach to this repository because the time wasted on my project builds, I use big size github repositories and I experimenting long time buildings. I tested that I can save 40% of time buildings, 30% disk, 60% network use and 10% cpu use. I tested your suggestion (remove branch to use the default branch) and works correctly. But, I have two questions:
Why not add an optional parameter of by example :shallowclone to false by default, and true regardless of the use of :commit / :tag / :branch / :submodules? Reference issue: #145 |
Report
What did you do?
bundle exec pod --verbose install
What did you expect to happen?
For Git dependencies, use
--depth 1
when cloning.What happened instead?
--depth 1
is not used:CocoaPods Environment
Stack
Installation Source
Plugins
Podfile
The text was updated successfully, but these errors were encountered: