Merge branch 'maint-1.8.1' into maint

* maint-1.8.1:
  Correct the docs about GIT_SSH.
This commit is contained in:
Junio C Hamano
2013-03-26 13:14:11 -07:00

View File

@ -774,9 +774,12 @@ other
If this environment variable is set then 'git fetch' If this environment variable is set then 'git fetch'
and 'git push' will use this command instead and 'git push' will use this command instead
of 'ssh' when they need to connect to a remote system. of 'ssh' when they need to connect to a remote system.
The '$GIT_SSH' command will be given exactly two arguments: The '$GIT_SSH' command will be given exactly two or
the 'username@host' (or just 'host') from the URL and the four arguments: the 'username@host' (or just 'host')
shell command to execute on that remote system. 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 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, you will need to wrap the program and options into a shell script,