Show More
@@ -682,8 +682,11 b' class gitsubrepo(object):' | |||||
682 | if line[2:].startswith('(no branch)'): |
|
682 | if line[2:].startswith('(no branch)'): | |
683 | continue |
|
683 | continue | |
684 | branch, revision = line[2:].split()[:2] |
|
684 | branch, revision = line[2:].split()[:2] | |
685 | if revision == '->': |
|
685 | if revision == '->' or branch.endswith('/HEAD'): | |
686 | continue # ignore remote/HEAD redirects |
|
686 | continue # ignore remote/HEAD redirects | |
|
687 | if '/' in branch and not branch.startswith('remotes/'): | |||
|
688 | # old git compatability | |||
|
689 | branch = 'remotes/' + branch | |||
687 | if line[0] == '*': |
|
690 | if line[0] == '*': | |
688 | current = branch |
|
691 | current = branch | |
689 | branch2rev[branch] = revision |
|
692 | branch2rev[branch] = revision |
General Comments 0
You need to be logged in to leave comments.
Login now