Skip to content
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

Feature Requests:Try shallow git clones as much as possible #121

Open
xuzhongping opened this issue Jan 18, 2022 · 1 comment
Open

Feature Requests:Try shallow git clones as much as possible #121

xuzhongping opened this issue Jan 18, 2022 · 1 comment

Comments

@xuzhongping
Copy link

Hi, I noticed that now when there is a branch or tag in the parameter it will do a shallow clone, if the parameter is a commit, I think I can try to check if there is a branch head or tag that can be mapped to this commit such as git ls-remote, which can Use shallow clones whenever possible to reduce download times.
(Note that this modification should not break the existing cocoapods git cache)

@FKREISE
Copy link

FKREISE commented Nov 24, 2023

+100000 on this issue. Currently, for every pod update we have to download over 500 MB of data because our default branch during development is not master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants