Skip to content

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

Open
@xuzhongping

Description

@xuzhongping

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions