codeinn/vcs

Git backend: workdir.get_branch is broken

Closed this issue · 0 comments

We currently traverse git's refs in naive way - iterate over refs and return first branch that match HEAD's sha. Problem occurs if more than one branch points to same sha. We should read .git.HEAD file instead.