mirror of
https://github.com/git/git.git
synced 2024-11-01 23:07:55 +01:00
6eb7ed5403
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>
7 lines
153 B
C
7 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
|