Explorar o código

Disable SSH ControlMaster option on Cygwin

Bug: REPO-29
Signed-off-by: Shawn O. Pearce <sop@google.com>
Shawn O. Pearce %!s(int64=17) %!d(string=hai) anos
pai
achega
2b5b4ac292
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      git_config.py

+ 1 - 1
git_config.py

@@ -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