[PATCH] fix show_date() for positive timezones
[git.git] / rpush.c
diff --git a/rpush.c b/rpush.c
index 0293a1a..3f2c898 100644 (file)
--- a/rpush.c
+++ b/rpush.c
@@ -6,7 +6,7 @@
 void service(int fd_in, int fd_out) {
        ssize_t size;
        int posn;
-       char sha1[20];
+       char unsigned sha1[20];
        unsigned long objsize;
        void *buf;
        do {
@@ -61,7 +61,7 @@ int main(int argc, char **argv)
         }
        commit_id = argv[arg];
        url = argv[arg + 1];
-       if (setup_connection(&fd_in, &fd_out, "rpull", url, arg, argv + 1))
+       if (setup_connection(&fd_in, &fd_out, "git-rpull", url, arg, argv + 1))
                return 1;
 
        service(fd_in, fd_out);