diff --git a/connect.c b/connect.c
index 51990fa0cb300a95b125b0727f10133961d0167b..48df90bfe56068109476ec62fb8209db20c4e8cf 100644 (file)
--- a/connect.c
+++ b/connect.c
* Read all the refs from the other end
*/
struct ref **get_remote_heads(int in, struct ref **list,
- int nr_match, char **match,
unsigned int flags,
struct extra_have_objects *extra_have)
{
if (!check_ref(name, name_len, flags))
continue;
- if (nr_match && !path_match(name, nr_match, match))
- continue;
ref = alloc_ref(buffer + 41);
hashcpy(ref->old_sha1, old_sha1);
*list = ref;