mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-02 16:14:25 +00:00
Disable SSH ControlMaster option on Cygwin
Bug: REPO-29 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
6f6cd77a50
commit
2b5b4ac292
@ -346,7 +346,7 @@ def _open_ssh(host, port):
|
|||||||
|
|
||||||
if not _ssh_master \
|
if not _ssh_master \
|
||||||
or 'GIT_SSH' in os.environ \
|
or 'GIT_SSH' in os.environ \
|
||||||
or sys.platform == 'win32':
|
or sys.platform in ('win32', 'cygwin'):
|
||||||
# failed earlier, or cygwin ssh can't do this
|
# failed earlier, or cygwin ssh can't do this
|
||||||
#
|
#
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user