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

Shallow git clones #4938

Closed
pradyunsg opened this issue Dec 23, 2017 · 2 comments
Closed

Shallow git clones #4938

pradyunsg opened this issue Dec 23, 2017 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation C: vcs pip's interaction with version control systems like git, svn and bzr type: enhancement Improvements to functionality

Comments

@pradyunsg
Copy link
Member

self.run_command(['clone', '-q', url, dest])

pip should perform shallow clones of git repositories since it's downloading history information that it's not using. Performing shallow clones would greatly speed up this bit when used with large git repositories.

@pradyunsg pradyunsg added type: enhancement Improvements to functionality C: vcs pip's interaction with version control systems like git, svn and bzr labels Dec 23, 2017
@pradyunsg
Copy link
Member Author

#2432 seems to where this was brought up before. Closing this in favour of that.

@lock
Copy link

lock bot commented Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 2, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation C: vcs pip's interaction with version control systems like git, svn and bzr type: enhancement Improvements to functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant