From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/git/git-remote-fd.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 devdocs/git/git-remote-fd.html (limited to 'devdocs/git/git-remote-fd.html') diff --git a/devdocs/git/git-remote-fd.html b/devdocs/git/git-remote-fd.html new file mode 100644 index 00000000..2458eb98 --- /dev/null +++ b/devdocs/git/git-remote-fd.html @@ -0,0 +1,6 @@ +

git-remote-fd

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 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 a 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 the 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 the same service.

git push fd::7,8/bar master

Same as above.

See also

gitremote-helpers[7]

+

+ © 2012–2024 Scott Chacon and others
Licensed under the MIT License.
+ https://git-scm.com/docs/git-remote-fd +

+
-- cgit v1.2.3