Skip to content

Inconsistent TrackingDetails after cloning an empty repo + commit #513

Description

@Yogu

If you clone a bare empty repository and commit once, then Head.IsTracking is true, but Head.TrackingDetails.AheadBy/BehindBy are null. I do not know what the intended behaviour ist, but I think this is inconsistent.

The tracking details could easily be calculated (ahead by number of commits in branch; behind by 0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions