Skip to content

Suggest: use --filter=blob:none and --no-checkout with git clone to reduce dir size #4511

@amone-bit

Description

@amone-bit

Please review the Community Note before submitting

Description

Maybe add the two flag will boost the scan and reduce the size.

Preferred Solution

if the --branch is not empty, we can first use --filter=blob:none and --no-checkout to clone git repository with less size, and than git fetch origin <branch> to fetch specific branch objects.

Additional Context

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions