Преглед на файлове

Disable SSH ControlMaster option on Cygwin

Bug: REPO-29
Signed-off-by: Shawn O. Pearce <sop@google.com>
Shawn O. Pearce преди 17 години
родител
ревизия
2b5b4ac292
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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