completion: drop the hard coded list of config vars
[gitweb.git] / builtin / clone.c
index 7df5932b855e874d45b970f6150d65ed25b06f5f..84f1473d19dc5a521e58c0bc1a7363808888dff1 100644 (file)
@@ -1135,7 +1135,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
        if (transport->smart_options && !deepen && !filter_options.choice)
                transport->smart_options->check_self_contained_and_connected = 1;
 
-       refs = transport_get_remote_refs(transport);
+       refs = transport_get_remote_refs(transport, NULL);
 
        if (refs) {
                mapped_refs = wanted_peer_refs(refs, refspec);