From 2b5b4ac29275ee49184a8aee98f60b744890f5bb Mon Sep 17 00:00:00 2001
From: "Shawn O. Pearce" <sop@google.com>
Date: Thu, 23 Apr 2009 17:22:18 -0700
Subject: [PATCH] Disable SSH ControlMaster option on Cygwin

Bug: REPO-29
Signed-off-by: Shawn O. Pearce <sop@google.com>
---
 git_config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git_config.py b/git_config.py
index 53b52c85..45264611 100644
--- a/git_config.py
+++ b/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