summaryrefslogtreecommitdiffstats
path: root/git_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_config.py')
-rw-r--r--git_config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/git_config.py b/git_config.py
index b4145e8c..e789be2e 100644
--- a/git_config.py
+++ b/git_config.py
@@ -566,6 +566,8 @@ class Remote(object):
566 return None 566 return None
567 567
568 u = self.review 568 u = self.review
569 if u.startswith('persistent-'):
570 u = u[len('persistent-'):]
569 if u.split(':')[0] not in ('http', 'https', 'sso'): 571 if u.split(':')[0] not in ('http', 'https', 'sso'):
570 u = 'http://%s' % u 572 u = 'http://%s' % u
571 if u.endswith('/Gerrit'): 573 if u.endswith('/Gerrit'):