1
418aaf847a8b3ffffb4f777a2dd5262ca5ce0ef7 (from dc93841715dfa9a9cdda6f2c4a25eec831ea7aa0)
2
diff --git a/Documentation/git-rpull.txt b/Documentation/git-ssh-pull.txt
4
rename from Documentation/git-rpull.txt
5
rename to Documentation/git-ssh-pull.txt
6
--- a/Documentation/git-rpull.txt
7
+++ b/Documentation/git-ssh-pull.txt
17
-git-rpull - Pulls from a remote repository over ssh connection
18
+git-ssh-pull - Pulls from a remote repository over ssh connection
24
-'git-rpull' [-c] [-t] [-a] [-d] [-v] [--recover] commit-id url
25
+'git-ssh-pull' [-c] [-t] [-a] [-d] [-v] [--recover] commit-id url
29
-Pulls from a remote repository over ssh connection, invoking git-rpush on
31
+Pulls from a remote repository over ssh connection, invoking git-ssh-push
36
diff --git a/Documentation/git-rpush.txt b/Documentation/git-ssh-push.txt
38
rename from Documentation/git-rpush.txt
39
rename to Documentation/git-ssh-push.txt
40
--- a/Documentation/git-rpush.txt
41
+++ b/Documentation/git-ssh-push.txt
51
-git-rpush - Helper "server-side" program used by git-rpull
52
+git-ssh-push - Helper "server-side" program used by git-ssh-pull
62
-Helper "server-side" program used by git-rpull.
63
+Helper "server-side" program used by git-ssh-pull.
67
diff --git a/Documentation/git.txt b/Documentation/git.txt
68
--- a/Documentation/git.txt
69
+++ b/Documentation/git.txt
70
@@ -148,7 +148,7 @@ link:git-resolve-script.html[git-resolve
71
link:git-tag-script.html[git-tag-script]::
72
An example script to create a tag object signed with GPG
74
-link:git-rpull.html[git-rpull]::
75
+link:git-ssh-pull.html[git-ssh-pull]::
76
Pulls from a remote repository over ssh connection
79
@@ -156,8 +156,8 @@ Interrogators:
80
link:git-diff-helper.html[git-diff-helper]::
81
Generates patch format output for git-diff-*
83
-link:git-rpush.html[git-rpush]::
84
- Helper "server-side" program used by git-rpull
85
+link:git-ssh-push.html[git-ssh-push]::
86
+ Helper "server-side" program used by git-ssh-pull
90
diff --git a/Makefile b/Makefile
93
@@ -30,7 +30,7 @@ PROG= git-update-index git-diff-files
94
git-checkout-cache git-diff-tree git-rev-tree git-ls-files \
95
git-check-files git-ls-tree git-merge-base git-merge-cache \
96
git-unpack-file git-export git-diff-cache git-convert-cache \
97
- git-http-pull git-rpush git-rpull git-rev-list git-mktag \
98
+ git-http-pull git-ssh-push git-ssh-pull git-rev-list git-mktag \
99
git-diff-helper git-tar-tree git-local-pull git-write-blob \
100
git-get-tar-commit-id git-mkdelta git-apply git-stripspace
102
@@ -105,8 +105,8 @@ git-diff-cache: diff-cache.c
103
git-convert-cache: convert-cache.c
104
git-http-pull: http-pull.c pull.c
105
git-local-pull: local-pull.c pull.c
107
-git-rpull: rsh.c pull.c
109
+git-ssh-pull: rsh.c pull.c
110
git-rev-list: rev-list.c
112
git-diff-helper: diff-helper.c
113
diff --git a/rpull.c b/ssh-pull.c
119
@@ -64,13 +64,13 @@ int main(int argc, char **argv)
122
if (argc < arg + 2) {
123
- usage("git-rpull [-c] [-t] [-a] [-v] [-d] [--recover] commit-id url");
124
+ usage("git-ssh-pull [-c] [-t] [-a] [-v] [-d] [--recover] commit-id url");
127
commit_id = argv[arg];
130
- if (setup_connection(&fd_in, &fd_out, "git-rpush", url, arg, argv + 1))
131
+ if (setup_connection(&fd_in, &fd_out, "git-ssh-push", url, arg, argv + 1))
135
diff --git a/rpush.c b/ssh-push.c
141
@@ -16,7 +16,7 @@ int serve_object(int fd_in, int fd_out)
143
size = read(fd_in, sha1 + posn, 20 - posn);
145
- perror("git-rpush: read ");
146
+ perror("git-ssh-push: read ");
150
@@ -30,7 +30,7 @@ int serve_object(int fd_in, int fd_out)
151
buf = map_sha1_file(sha1, &objsize);
154
- fprintf(stderr, "git-rpush: could not find %s\n",
155
+ fprintf(stderr, "git-ssh-push: could not find %s\n",
159
@@ -45,9 +45,9 @@ int serve_object(int fd_in, int fd_out)
160
size = write(fd_out, buf + posn, objsize - posn);
163
- fprintf(stderr, "git-rpush: write closed");
164
+ fprintf(stderr, "git-ssh-push: write closed");
166
- perror("git-rpush: write ");
167
+ perror("git-ssh-push: write ");
171
@@ -71,7 +71,7 @@ void service(int fd_in, int fd_out) {
172
retval = read(fd_in, &type, 1);
175
- perror("rpush: read ");
176
+ perror("git-ssh-push: read ");
179
if (type == 'v' && serve_version(fd_in, fd_out))
180
@@ -91,12 +91,12 @@ int main(int argc, char **argv)
183
if (argc < arg + 2) {
184
- usage("git-rpush [-c] [-t] [-a] commit-id url");
185
+ usage("git-ssh-push [-c] [-t] [-a] commit-id url");
188
commit_id = argv[arg];
190
- if (setup_connection(&fd_in, &fd_out, "git-rpull", url, arg, argv + 1))
191
+ if (setup_connection(&fd_in, &fd_out, "git-ssh-pull", url, arg, argv + 1))
194
service(fd_in, fd_out);