aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-26 13:14:45 -0700
committerJunio C Hamano <gitster@pobox.com>2013-03-26 13:14:45 -0700
commit7f95f2dce01e03532206d0998bca4cbdd8a660c7 (patch)
tree61acc75243b55689d3018777df7ea2f7b1feda48 /Documentation/git.txt
parent7632cd274464d693c3821205f72a54cda2b7d83b (diff)
parent3bbbf18d711eb8fe3390580963c1a071e03cbb38 (diff)
downloadgit-7f95f2dce01e03532206d0998bca4cbdd8a660c7.tar.xz
Merge branch 'maint'
* maint: More corrections for 1.8.2.1 Correct the docs about GIT_SSH.
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r--Documentation/git.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 7efaa591b8..4307d62bd4 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -774,9 +774,12 @@ other
If this environment variable is set then 'git fetch'
and 'git push' will use this command instead
of 'ssh' when they need to connect to a remote system.
- The '$GIT_SSH' command will be given exactly two arguments:
- the 'username@host' (or just 'host') from the URL and the
- shell command to execute on that remote system.
+ The '$GIT_SSH' command will be given exactly two or
+ four arguments: the 'username@host' (or just 'host')
+ from the URL and the shell command to execute on that
+ remote system, optionally preceded by '-p' (literally) and
+ the 'port' from the URL when it specifies something other
+ than the default SSH port.
+
To pass options to the program that you want to list in GIT_SSH
you will need to wrap the program and options into a shell script,