git-repo/git_ssh
Shawn O. Pearce fb2316146f 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>
2009-04-18 16:50:47 -07:00

3 lines
56 B
Bash
Executable File

#!/bin/sh
exec ssh -o "ControlPath $REPO_SSH_SOCK" "$@"