From fb2316146f6e3036e0cc3e08653920964a428a15 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Fri, 10 Apr 2009 18:53:46 -0700 Subject: Automatically use SSH control master support during sync By creating a background ssh "control master" process which lives for the duration of our sync cycle we can easily cut the time for a no-op sync of 132 projects from 60s to 18s. Bug: REPO-11 Signed-off-by: Shawn O. Pearce --- git_ssh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 git_ssh (limited to 'git_ssh') diff --git a/git_ssh b/git_ssh new file mode 100755 index 00000000..63aa63c2 --- /dev/null +++ b/git_ssh @@ -0,0 +1,2 @@ +#!/bin/sh +exec ssh -o "ControlPath $REPO_SSH_SOCK" "$@" -- cgit v1.2.3-54-g00ecf