Disable SSH ControlMaster option on Cygwin

Bug: REPO-29
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce 2009-04-23 17:22:18 -07:00
parent 6f6cd77a50
commit 2b5b4ac292

View File

@ -346,7 +346,7 @@ def _open_ssh(host, port):
if not _ssh_master \
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
#
return False