git-remote-fd - Reflect smart transport stream back to caller
"fd::<infd>[,<outfd>][/<anything>]" (as URL)
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 <infd> 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 <infd> and <outfd> are given, they are assumed to be pipes connected to a 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 providing information to user in the URL in case that URL is displayed in some context.
GIT_TRANSLOOP_DEBUGIf set, prints debugging information about various reads/writes.
git fetch fd::17 masterFetch master, using file descriptor #17 to communicate with git-upload-pack.
git fetch fd::17/foo masterSame 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 masterSame as above.
Documentation by Ilari Liusvaara and the git list <[blue]email@example.com>
Part of the git(1) suite
1. firstname.lastname@example.org mailto:email@example.com
|Git 18.104.22.168||GIT-REMOTE-FD (1)||11/24/2012|