summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
53e2c8b)
oss-cts issue 21
Change-Id: Id0bf39fc6d9eb64ef9415e5101a9a8bd042848aa
if proc.returncode != 0:
raise Exception("Failed to execute 'git ls-remote origin', got %d" % proc.returncode)
if proc.returncode != 0:
raise Exception("Failed to execute 'git ls-remote origin', got %d" % proc.returncode)
- if stdout[:3] == 'ssh':
+ if (stdout[:3] == 'ssh') or (stdout[:3] == 'git'):
protocol = 'ssh'
else:
assert stdout[:5] == 'https'
protocol = 'ssh'
else:
assert stdout[:5] == 'https'