mirror of
https://github.com/git/git.git
synced 2024-11-27 20:14:30 +08:00
001d4a27db
Allow traditional ssh path specifiers (host:path), and let the user override the command name on the other end. With this, I can push to kernel.org with this script export GIT_SSH_PULL=/home/torvalds/bin/git-ssh-pull git-ssh-push -a -v -w heads/master heads/master master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git which while not pretty is at least workable.
8 lines
159 B
C
8 lines
159 B
C
#ifndef RSH_H
|
|
#define RSH_H
|
|
|
|
int setup_connection(int *fd_in, int *fd_out, const char *remote_prog,
|
|
char *url, int rmt_argc, char **rmt_argv);
|
|
|
|
#endif
|