mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-02-23 23:27:27 +08:00
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" "$@"
|