From 001d4a27dbfaaa59c25dc35dafc69bd9b9bc21d3 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 7 Jun 2005 14:23:46 -0700 Subject: git-ssh-push/pull: usability improvements 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. --- rsh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsh.h') diff --git a/rsh.h b/rsh.h index 97e4f20b2b..3b4194239d 100644 --- a/rsh.h +++ b/rsh.h @@ -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 -- cgit v1.2.3