diff options
author | Junio C Hamano <junio@kernel.org> | 2010-12-08 22:50:43 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2010-12-08 22:50:43 +0000 |
commit | 788eeba1426ccd5db826601bca7ef1c4b317e32f (patch) | |
tree | 61dc51d889cb981380f1d355611d66afd6d7c897 /git-remote-fd.txt | |
parent | 28e6d1f42c813caecf9c05f855e0d17184e01b62 (diff) | |
download | git-htmldocs-788eeba1426ccd5db826601bca7ef1c4b317e32f.tar.gz |
Autogenerated HTML docs for v1.7.3.3-464-gf80b6
Diffstat (limited to 'git-remote-fd.txt')
-rw-r--r-- | git-remote-fd.txt | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/git-remote-fd.txt b/git-remote-fd.txt new file mode 100644 index 000000000..abc49441b --- /dev/null +++ b/git-remote-fd.txt @@ -0,0 +1,59 @@ +git-remote-fd(1) +================ + +NAME +---- +git-remote-fd - Reflect smart transport stream back to caller + +SYNOPSIS +-------- +"fd::<infd>[,<outfd>][/<anything>]" (as URL) + +DESCRIPTION +----------- +This helper uses specified file descriptors to connect to remote git server. +This is not meant for end users but for programs and scripts calling git +fetch, push or archive. + +If only <infd> is given, it is assumed to be bidirectional socket connected +to remote git server (git-upload-pack, git-receive-pack or +git-upload-achive). If both <infd> and <outfd> are given, they are assumed +to be pipes connected to remote git server (<infd> being the inbound pipe +and <outfd> 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. + +<anything> can be any string. It is ignored. It is meant for provoding +information to user in the URL in case that URL is displayed in some +context. + +ENVIRONMENT VARIABLES +--------------------- +GIT_TRANSLOOP_DEBUG:: + If set, prints debugging information about various reads/writes. + +EXAMPLES +-------- +git fetch fd::17 master:: + Fetch master, using file descriptor #17 to communicate with + git-upload-pack. + +git fetch fd::17/foo master:: + Same as above. + +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:: + Same as above. + +Documentation +-------------- +Documentation by Ilari Liusvaara and the git list <git@vger.kernel.org> + +GIT +--- +Part of the linkgit:git[1] suite |