Show More
@@ -730,7 +730,8 b' class gitsubrepo(abstractsubrepo):' | |||||
730 | '%(objectname) %(refname)']) |
|
730 | '%(objectname) %(refname)']) | |
731 | for line in out.split('\n'): |
|
731 | for line in out.split('\n'): | |
732 | revision, ref = line.split(' ') |
|
732 | revision, ref = line.split(' ') | |
733 |
if ref.startswith('refs/ |
|
733 | if (not ref.startswith('refs/heads/') and | |
|
734 | not ref.startswith('refs/remotes/')): | |||
734 | continue |
|
735 | continue | |
735 | if ref.startswith('refs/remotes/') and ref.endswith('/HEAD'): |
|
736 | if ref.startswith('refs/remotes/') and ref.endswith('/HEAD'): | |
736 | continue # ignore remote/HEAD redirects |
|
737 | continue # ignore remote/HEAD redirects |
General Comments 0
You need to be logged in to leave comments.
Login now