X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-remote-fd.txt;h=f095d57d09f215e48e1f832ca0698e5666119f2b;hb=428c995c4e697457842d00ccab6595e51b088a44;hp=abc49441be7a86e25a2b09d98f7de2ddcf0b0bb2;hpb=15368e1836970d87b5f29635b04c1d2144954f1f;p=git.git diff --git a/Documentation/git-remote-fd.txt b/Documentation/git-remote-fd.txt index abc49441b..f095d57d0 100644 --- a/Documentation/git-remote-fd.txt +++ b/Documentation/git-remote-fd.txt @@ -11,20 +11,20 @@ SYNOPSIS DESCRIPTION ----------- -This helper uses specified file descriptors to connect to remote git server. +This helper uses specified file descriptors to connect to a remote git server. This is not meant for end users but for programs and scripts calling git fetch, push or archive. -If only is given, it is assumed to be bidirectional socket connected +If only is given, it is assumed to be a bidirectional socket connected to remote git server (git-upload-pack, git-receive-pack or git-upload-achive). If both and are given, they are assumed -to be pipes connected to remote git server ( being the inbound pipe +to be pipes connected to a remote git server ( being the inbound pipe and being the outbound pipe. It is assumed that any handshaking procedures have already been completed (such as sending service request for git://) before this helper is started. - can be any string. It is ignored. It is meant for provoding + can be any string. It is ignored. It is meant for providing information to user in the URL in case that URL is displayed in some context. @@ -35,19 +35,19 @@ GIT_TRANSLOOP_DEBUG:: EXAMPLES -------- -git fetch fd::17 master:: +`git fetch fd::17 master`:: Fetch master, using file descriptor #17 to communicate with git-upload-pack. -git fetch fd::17/foo master:: +`git fetch fd::17/foo master`:: Same as above. -git push fd::7,8 master (as URL):: +`git push fd::7,8 master (as URL)`:: Push master, using file descriptor #7 to read data from git-receive-pack and file descriptor #8 to write data to same service. -git push fd::7,8/bar master:: +`git push fd::7,8/bar master`:: Same as above. Documentation