This adds two new remote helpers.
* git-remote-fd, which connects to git service on given file descriptor(s),
useful for graphical user interfaces that want to use internal ssh client.
* git-remote-ext, which connect to git service using external program. Useful
for connecting using odd one-off ssh options, to services in abstract
namespace, using unix domain sockets, using TLS, etc...
Changes from last time:
* Refactor the transfer loop quite a bit.
* Change the "format character" in remote-ext from '\' to '%'.
* Some code changes in remote-fd.
* Documentation changes for remote-fd.
Ilari Liusvaara (3):
Add bidirectional_transfer_loop()
git-remote-fd
git-remote-ext
.gitignore | 2 +
Documentation/git-remote-ext.txt | 119 ++++++++++++++
Documentation/git-remote-fd.txt | 59 +++++++
Makefile | 2 +
builtin.h | 2 +
builtin/remote-ext.c | 243 ++++++++++++++++++++++++++++
builtin/remote-fd.c | 80 ++++++++++
compat/mingw.h | 5 +
git.c | 2 +
transport-helper.c | 324 ++++++++++++++++++++++++++++++++++++++
transport.h | 1 +
11 files changed, 839 insertions(+), 0 deletions(-)
create mode 100644 Documentation/git-remote-ext.txt
create mode 100644 Documentation/git-remote-fd.txt
create mode 100644 builtin/remote-ext.c
create mode 100644 builtin/remote-fd.c