-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Why does cargo need to download git dependencies completely? #14687
Comments
We are tracking shallow clones in #13285. What seems odd though is I didn't think we downloaded all tags and branches for a git dependency. Do you have reproduction steps? |
This is the |
Besides, the |
We used cargo/src/cargo/sources/git/utils.rs Lines 1187 to 1198 in 89eb406
|
Problem
Why does cargo need to download git dependencies completely?
Proposed Solution
Set
depth=1
when git is used for download.Notes
No response
The text was updated successfully, but these errors were encountered: