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
Description
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)