commit | fb2316146f6e3036e0cc3e08653920964a428a15 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Fri Apr 10 18:53:46 2009 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Sat Apr 18 16:50:47 2009 -0700 |
tree | f19c5c65a035f547ada03496f1576524e4602665 | |
parent | 8bd5e60b16080008771afcaa7de7084487b84780 [diff] [blame] |
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 <sop@google.com>
diff --git a/git_ssh b/git_ssh new file mode 100755 index 0000000..63aa63c --- /dev/null +++ b/git_ssh
@@ -0,0 +1,2 @@ +#!/bin/sh +exec ssh -o "ControlPath $REPO_SSH_SOCK" "$@"