Merge branch 'maint-1.8.1' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 26 Mar 2013 20:14:11 +0000 (13:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Mar 2013 20:14:11 +0000 (13:14 -0700)
* maint-1.8.1:
Correct the docs about GIT_SSH.

Documentation/git.txt
index 7efaa591b8f29b7d9ab415efb7ebe4f83e41a72b..4307d62bd4a4e4b5361200ef54d8ecba60e4f1b0 100644 (file)
@@ -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,