Skip to content

No valid git object identified by 'refs/remotes/origin/HEAD' exists in the repository. #1331

@Chaosmeister

Description

@Chaosmeister

In GetBranchesContainingCommit()
my 'refs/remotes/origin/HEAD' is evaluated as well but commits.Reference.Target is null and if (!commits.Any()) will then throw an exception.

I don't really know how I got it like this.

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