diff options
Diffstat (limited to 'fetch-pack.c')
-rw-r--r-- | fetch-pack.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fetch-pack.c b/fetch-pack.c index d34f322477..27f5d2a5ff 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -262,9 +262,6 @@ static void filter_refs(struct ref **refs, int nr_match, char **match) { struct ref *prev, *current, *next; - if (!nr_match) - return; - for (prev = NULL, current = *refs; current; current = next) { next = current->next; if ((!memcmp(current->name, "refs/", 5) && |