aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--send-pack.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/send-pack.c b/send-pack.c
index 4c6adabda..8ff61d1c4 100644
--- a/send-pack.c
+++ b/send-pack.c
@@ -204,9 +204,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;