Browse Source
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.maint
Linus Torvalds
20 years ago
4 changed files with 13 additions and 8 deletions
@ -1,7 +1,7 @@
@@ -1,7 +1,7 @@
|
||||
#ifndef RSH_H |
||||
#define RSH_H |
||||
|
||||
int setup_connection(int *fd_in, int *fd_out, char *remote_prog, |
||||
int setup_connection(int *fd_in, int *fd_out, const char *remote_prog, |
||||
char *url, int rmt_argc, char **rmt_argv); |
||||
|
||||
#endif |
||||
|
Loading…
Reference in new issue