summaryrefslogtreecommitdiff
path: root/rpush.c
diff options
context:
space:
mode:
authorAlexey Nezhdanov <snake@penza-gsm.ru>2005-05-19 11:17:16 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-19 17:52:00 (GMT)
commit667bb59b2d5b0a2e7fca5970d6f757790a6edd74 (patch)
tree099b568160ec8ad8cbae5c22b61abe69a82d6546 /rpush.c
parent9669e17a2f79e8ef0bd5981f8178cada5e53d46b (diff)
downloadgit-667bb59b2d5b0a2e7fca5970d6f757790a6edd74.zip
git-667bb59b2d5b0a2e7fca5970d6f757790a6edd74.tar.gz
git-667bb59b2d5b0a2e7fca5970d6f757790a6edd74.tar.bz2
[PATCH] cleanup of in-code names
Fixes all in-code names that leaved during "big name change". Signed-off-by: Alexey Nezhdanov <snake@penza-gsm.ru> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'rpush.c')
-rw-r--r--rpush.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rpush.c b/rpush.c
index 3f2c898..223bdd8 100644
--- a/rpush.c
+++ b/rpush.c
@@ -14,7 +14,7 @@ void service(int fd_in, int fd_out) {
do {
size = read(fd_in, sha1 + posn, 20 - posn);
if (size < 0) {
- perror("rpush: read ");
+ perror("git-rpush: read ");
return;
}
if (!size)
@@ -26,7 +26,7 @@ void service(int fd_in, int fd_out) {
buf = map_sha1_file(sha1, &objsize);
if (!buf) {
- fprintf(stderr, "rpush: could not find %s\n",
+ fprintf(stderr, "git-rpush: could not find %s\n",
sha1_to_hex(sha1));
return;
}
@@ -35,9 +35,9 @@ void service(int fd_in, int fd_out) {
size = write(fd_out, buf + posn, objsize - posn);
if (size <= 0) {
if (!size) {
- fprintf(stderr, "rpush: write closed");
+ fprintf(stderr, "git-rpush: write closed");
} else {
- perror("rpush: write ");
+ perror("git-rpush: write ");
}
return;
}
@@ -56,7 +56,7 @@ int main(int argc, char **argv)
arg++;
}
if (argc < arg + 2) {
- usage("rpush [-c] [-t] [-a] commit-id url");
+ usage("git-rpush [-c] [-t] [-a] commit-id url");
return 1;
}
commit_id = argv[arg];