mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-23 07:16:21 +00:00
fb2316146f
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>
3 lines
56 B
Bash
Executable File
3 lines
56 B
Bash
Executable File
#!/bin/sh
|
|
exec ssh -o "ControlPath $REPO_SSH_SOCK" "$@"
|