gitweb: pull ref markes pull out of subject <a> element
[gitweb.git] / builtin-remote.c
index 2fb76d32f86cb4e699036b40eac9bd9a747fb77f..008abfe0922f6d1662aebcfbf63ba9f47de4ae65 100644 (file)
@@ -787,7 +787,7 @@ static int get_remote_ref_states(const char *name,
        read_branches();
 
        if (query) {
-               transport = transport_get(NULL, states->remote->url_nr > 0 ?
+               transport = transport_get(states->remote, states->remote->url_nr > 0 ?
                        states->remote->url[0] : NULL);
                remote_refs = transport_get_remote_refs(transport);
                transport_disconnect(transport);