120 lines
2.9 KiB
HTML
120 lines
2.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of GIT-REMOTE-FD</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>GIT-REMOTE-FD</H1>
|
|
Section: Git Manual (1)<BR>Updated: 03/04/2021<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
git-remote-fd - Reflect smart transport stream back to caller
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
"fd::<infd>[,<outfd>][/<anything>]" (as URL)
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
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.
|
|
<P>
|
|
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.
|
|
<P>
|
|
It is assumed that any handshaking procedures have already been completed (such as sending service request for <A HREF="git://)">git://)</A> before this helper is started.
|
|
<P>
|
|
<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.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>ENVIRONMENT VARIABLES</H2>
|
|
|
|
<P>
|
|
|
|
GIT_TRANSLOOP_DEBUG
|
|
<DL COMPACT><DT id="1"><DD>
|
|
If set, prints debugging information about various reads/writes.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<P>
|
|
|
|
<B>git fetch fd::17 master</B>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
Fetch master, using file descriptor #17 to communicate with git-upload-pack.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>git fetch fd::17/foo master</B>
|
|
<DL COMPACT><DT id="3"><DD>
|
|
Same as above.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>git push fd::7,8 master (as URL)</B>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
Push master, using file descriptor #7 to read data from git-receive-pack and file descriptor #8 to write data to same service.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>git push fd::7,8/bar master</B>
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Same as above.
|
|
</DL>
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
<B><A HREF="/cgi-bin/man/man2html?7+gitremote-helpers">gitremote-helpers</A></B>(7)
|
|
<A NAME="lbAH"> </A>
|
|
<H2>GIT</H2>
|
|
|
|
<P>
|
|
Part of the <B><A HREF="/cgi-bin/man/man2html?1+git">git</A></B>(1) suite
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="9"><A HREF="#lbAE">ENVIRONMENT VARIABLES</A><DD>
|
|
<DT id="10"><A HREF="#lbAF">EXAMPLES</A><DD>
|
|
<DT id="11"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="12"><A HREF="#lbAH">GIT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:14 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|