Skip to content

Tagged trees and blobs cause GitVersion to crash #1944

@cyanite

Description

@cyanite

In git it's legal (and used e.g. in the Git and Linux repositories; see https://git-scm.com/book/en/v2/Git-Internals-Git-References) to tag non-commit objects, i.e. trees or blobs. GitVersion crashes if it encounters such an object, however, due to an invalid cast.

Such tags should instead be ignored. I've created a pull request to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions