gc --auto: exclude base pack if not enough mem to "repack -ad"
[gitweb.git] / builtin / clone.c
index 855947f1aba9bd052d5e3edb42f4174ae45a0579..7df5932b855e874d45b970f6150d65ed25b06f5f 100644 (file)
@@ -1218,7 +1218,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
        transport_disconnect(transport);
 
        if (option_dissociate) {
-               close_all_packs();
+               close_all_packs(the_repository->objects);
                dissociate_from_references();
        }