mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
![Daniel Barkalow](/assets/img/avatar_default.png)
This patch adds three similar and related programs. http-pull downloads objects from an HTTP server; rpull downloads objects by using ssh and rpush on the other side; and rpush uploads objects by using ssh and rpull on the other side. The algorithm should be sufficient to make the network throughput required depend only on how much content is new, not at all on how much content the repository contains. The combination should enable people to have remote repositories by way of ssh login for authenticated users and HTTP for anonymous access. Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
8 lines
153 B
C
8 lines
153 B
C
#ifndef RSH_H
|
|
#define RSH_H
|
|
|
|
int setup_connection(int *fd_in, int *fd_out, char *remote_prog,
|
|
char *url, int rmt_argc, char **rmt_argv);
|
|
|
|
#endif
|