Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

ResolveRevision doesn't resolve ambigious revs #823

Open
@ZJvandeWeg

Description

@ZJvandeWeg

When a branch has the same name as the SHA of the commit it depends on, ResolveRevision() doesn't correctly resolve it.

I'm not sure how users get in this situation, but to reproduce:

$ git init
$ touch file && git add . && git commit -m "init commit"
$ git checkout -b $(git rev-parse HEAD)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions