Skip to content

Support Shallow Clones #278

@iamwyza

Description

@iamwyza

The current behavior of octoversion is to fail if the repo checkout is a shallow one. It'd be nice to have the option to support shallow clones with the understanding that the fetch depth needs to be deep enough to find the parent commit with the last tag needed to calculate the version. For very large git repositories or git histories, this can save a substantial amount of time.

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