diff options
author | Shawn O. Pearce <sop@google.com> | 2009-04-21 08:02:04 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-04-21 08:28:06 -0700 |
commit | eb7af87bcfc67798b58a99422988b9c368d7d642 (patch) | |
tree | 4c72901e9c2bf8b44242ca4076fb24fd962ae8b8 /subcmds/sync.py | |
parent | 938d608c9c47401fbdb60f3188c718e2f2569bd0 (diff) | |
download | git-repo-eb7af87bcfc67798b58a99422988b9c368d7d642.tar.gz |
Document the SSH ControlMaster behavior of repo sync
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index b5cc604e..c61c3bb4 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -53,6 +53,35 @@ The -d/--detach option can be used to switch specified projects | |||
53 | back to the manifest revision. This option is especially helpful | 53 | back to the manifest revision. This option is especially helpful |
54 | if the project is currently on a topic branch, but the manifest | 54 | if the project is currently on a topic branch, but the manifest |
55 | revision is temporarily needed. | 55 | revision is temporarily needed. |
56 | |||
57 | SSH Connections | ||
58 | --------------- | ||
59 | |||
60 | If at least one project remote URL uses an SSH connection (ssh://, | ||
61 | git+ssh://, or user@host:path syntax) repo will automatically | ||
62 | enable the SSH ControlMaster option when connecting to that host. | ||
63 | This feature permits other projects in the same '%prog' session to | ||
64 | reuse the same SSH tunnel, saving connection setup overheads. | ||
65 | |||
66 | To disable this behavior on UNIX platforms, set the GIT_SSH | ||
67 | environment variable to 'ssh'. For example: | ||
68 | |||
69 | export GIT_SSH=ssh | ||
70 | %prog | ||
71 | |||
72 | Compatibility | ||
73 | ~~~~~~~~~~~~~ | ||
74 | |||
75 | This feature is automatically disabled on Windows, due to the lack | ||
76 | of UNIX domain socket support. | ||
77 | |||
78 | This feature is not compatible with url.insteadof rewrites in the | ||
79 | user's ~/.gitconfig. '%prog' is currently not able to perform the | ||
80 | rewrite early enough to establish the ControlMaster tunnel. | ||
81 | |||
82 | If the remote SSH daemon is Gerrit Code Review, version 2.0.10 or | ||
83 | later is required to fix a server side protocol bug. | ||
84 | |||
56 | """ | 85 | """ |
57 | 86 | ||
58 | def _Options(self, p): | 87 | def _Options(self, p): |