From ec1df9b7f6310ce5dd9432b727eb9f7bde9f2796 Mon Sep 17 00:00:00 2001 From: Doug Anderson Date: Wed, 27 Oct 2010 17:13:07 -0700 Subject: [PATCH] Don't allow git fetch to start ControlMaster To avoid connectivity problems, we don't want the ssh process that is started by git fetch to become a ControlMaster for the overall sync task. If it did, we would lose connectivity when git fetch was finished with the current project, causing later projects to not fetch efficiently. Change-Id: I8d0dcf9b361276ff8c8b5a6324cbd4a501e9c4dd Signed-off-by: Shawn O. Pearce --- git_ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_ssh b/git_ssh index 63aa63c2..b1ab521e 100755 --- a/git_ssh +++ b/git_ssh @@ -1,2 +1,2 @@ #!/bin/sh -exec ssh -o "ControlPath $REPO_SSH_SOCK" "$@" +exec ssh -o "ControlMaster no" -o "ControlPath $REPO_SSH_SOCK" "$@"