Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Pinning does not handle repositories without any tags #273

@euanh

Description

@euanh

On a repository with no tags, git describe HEAD fails:

$ git describe HEAD
fatal: No names found, cannot describe anything.

The --all and --long options return something more useful:

$ git describe --all --long HEAD
heads/master-0-gbc76db9

However to be useful as a version number for RPM upgrades, we need some sort of increasing number, such as the number of commits since the root commit. We might have to tag the root (temporarily) as 0.0.0 to get that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions