Merge branch 'master' of git://people.freedesktop.org/~hausmann/git-p4
[gitweb.git] / upload-pack.c
index d3a09e78d56642db9b1fb1b1ead34ff60dd8c923..fe96ef15c43fa6e3f8f947f84ddce3c498e82859 100644 (file)
@@ -62,7 +62,7 @@ static ssize_t send_client_data(int fd, const char *data, ssize_t sz)
        return safe_write(fd, data, sz);
 }
 
-FILE *pack_pipe = NULL;
+static FILE *pack_pipe = NULL;
 static void show_commit(struct commit *commit)
 {
        if (commit->object.flags & BOUNDARY)
@@ -678,7 +678,7 @@ int main(int argc, char **argv)
                        break;
                }
        }
-       
+
        if (i != argc-1)
                usage(upload_pack_usage);
        dir = argv[i];