[PATCH] Use gzip -f when building the git-core tarball
[gitweb.git] / send-pack.c
index 4c6adabdac808aa70f9040ec6733581f2ee00c0d..02d1d52c2475759f2b206912bbd626f749a6b750 100644 (file)
@@ -2,7 +2,8 @@
 #include "refs.h"
 #include "pkt-line.h"
 
-static const char send_pack_usage[] = "git-send-pack [--exec=other] destination [heads]*";
+static const char send_pack_usage[] =
+"git-send-pack [--exec=git-receive-pack] [host:]directory [heads]*";
 static const char *exec = "git-receive-pack";
 
 struct ref {
@@ -204,9 +205,6 @@ static int send_pack(int in, int out, int nr_match, char **match)
                if (read_ref(name, new_sha1) < 0)
                        continue;
 
-               if (nr_match && !path_match(name, nr_match, match))
-                       continue;
-
                if (!memcmp(ref->old_sha1, new_sha1, 20)) {
                        fprintf(stderr, "'%s' unchanged\n", name);
                        continue;