summaryrefslogtreecommitdiffstats
path: root/subcmds/start.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-04-21 14:51:04 -0700
committerShawn O. Pearce <sop@google.com>2009-04-21 14:51:04 -0700
commit896d5dffd313a2ad91fd8bee750241a6512b25dc (patch)
treec2f11ce9393b2f27cff759578cad6bb5c7bdf486 /subcmds/start.py
parent9360966bd2ff68fd7257b50df1a7fcb5e62fe189 (diff)
downloadgit-repo-896d5dffd313a2ad91fd8bee750241a6512b25dc.tar.gz
Fix UnboundLocalError: local variable 'port' when using SSHv1.6.7.2
If the SSH URL doesn't contain a port number, but uses the ssh:// or git+ssh:// syntax we raised a Python runtime error due to the 'port' local variable not being assigned a value. Default it to the IANA assigned port for SSH, 22. Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds/start.py')
0 files changed, 0 insertions, 0 deletions