Skip to content

Add "depth" and "single_branch" options for core.repository_prep #198

@karlatec

Description

@karlatec

Enhancement / feature request:
Please add depth and single_branch options (something like in Ansible Git) to repository_prep script to reduce the size of checked-out repository. Cloning with at full depth and with all branches is troublesome for large repositories, taking way too much disk space.

For example checking out freebsd source repository takes up ~5GB space vs checking out a single branch with depth=1, which takes ~2GB.

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