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

Use git's partial clone feature to speed up pip #9086

Merged
merged 1 commit into from
Aug 15, 2021

Commits on Aug 13, 2021

  1. Use git's partial clone feature to speed up pip

    Clone with --filter=blob:none - as it fetches all
    metadata, but only dynamically fetches the blobs as
    needed by checkout. Since typically, pip only needs the blobs for
    a single revision, this can be a big improvement, especially
    when fetching from repositories with a lot of history,
    particularly on slower network connections.
    
    Added unit test for the rev-less path. Confirmed that both
    of the if/else paths are tested by the unit tests.
    nipunn1313 committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    2d35b80 View commit details
    Browse the repository at this point in the history