Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-16 01:56:37 +0400
committerJunio C Hamano <junkio@cox.net>2005-09-16 01:56:37 +0400
commitf71a69ab055c47056d0270b29b8f7455278c2422 (patch)
tree783a7ee17c193bb5baa6f8ebb87e6ce365ae13e6 /ssh-push.c
parent0de68d28d34f915951324b9f387e6e67172e9951 (diff)
Be more backward compatible with git-ssh-{push,pull}.
HPA reminded me that these programs knows about the name of the counterpart on the other end and simply symlinking the old name to new name locally would not be enough. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'ssh-push.c')
-rw-r--r--ssh-push.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh-push.c b/ssh-push.c
new file mode 100644
index 0000000000..a562df1b31
--- /dev/null
+++ b/ssh-push.c
@@ -0,0 +1,4 @@
+#define COUNTERPART_ENV_NAME "GIT_SSH_PULL"
+#define COUNTERPART_PROGRAM_NAME "git-ssh-pull"
+#define MY_PROGRAM_NAME "git-ssh-push"
+#include "ssh-upload.c"