##// END OF EJS Templates
git: fix diff rendering with branches with '/'.
marcink -
r2472:7cfaf3b1 default
parent child Browse files
Show More
@@ -403,8 +403,9 b' class GitRepository(BaseRepository):'
403 return tree
403 return tree
404
404
405 def get_remote_ref(self, ref_name):
405 def get_remote_ref(self, ref_name):
406 ref_key = 'refs/remotes/origin/{}'.format(safe_str(ref_name))
406 try:
407 try:
407 return self._ref_tree['refs']['remotes']['origin'][ref_name]
408 return self._refs[ref_key]
408 except Exception:
409 except Exception:
409 return
410 return
410
411
General Comments 0
You need to be logged in to leave comments. Login now