NAME | SYNOPSIS | DESCRIPTION | ENVIRONMENT VARIABLES | EXAMPLES | SEE ALSO | GIT | COLOPHON

GIT-REMOTE-FD(1)                 Git Manual                 GIT-REMOTE-FD(1)

NAME         top

       git-remote-fd - Reflect smart transport stream back to caller

SYNOPSIS         top

       "fd::<infd>[,<outfd>][/<anything>]" (as URL)

DESCRIPTION         top

       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-archive). 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.

ENVIRONMENT VARIABLES         top

       GIT_TRANSLOOP_DEBUG
           If set, prints debugging information about various reads/writes.

EXAMPLES         top

       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.

SEE ALSO         top

       gitremote-helpers(1)

GIT         top

       Part of the git(1) suite

COLOPHON         top

       This page is part of the git (Git distributed version control system)
       project.  Information about the project can be found at 
       ⟨http://git-scm.com/⟩.  If you have a bug report for this manual page,
       see ⟨http://git-scm.com/community⟩.  This page was obtained from the
       project's upstream Git repository ⟨https://github.com/git/git.git⟩ on
       2017-07-05.  If you discover any rendering problems in this HTML ver‐
       sion of the page, or you believe there is a better or more up-to-date
       source for the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original man‐
       ual page), send a mail to man-pages@man7.org
Git 2.10.0.rc2.20.g5             09/01/2016                 GIT-REMOTE-FD(1)

Pages that refer to this page: gitremote-helpers(1)