Show More
@@ -403,8 +403,9 b' class GitRepository(BaseRepository):' | |||
|
403 | 403 | return tree |
|
404 | 404 | |
|
405 | 405 | def get_remote_ref(self, ref_name): |
|
406 | ref_key = 'refs/remotes/origin/{}'.format(safe_str(ref_name)) | |
|
406 | 407 | try: |
|
407 |
return self._ref |
|
|
408 | return self._refs[ref_key] | |
|
408 | 409 | except Exception: |
|
409 | 410 | return |
|
410 | 411 |
General Comments 0
You need to be logged in to leave comments.
Login now