push: test to verify that push errors are colored
[gitweb.git] / builtin / fetch.c
index 8295f92b3e63d2675b8238d6bc17e9b1fc81319a..dcdfc66f09af70c4b8e3c08a99c80202be7b4e68 100644 (file)
@@ -1516,7 +1516,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
 
        string_list_clear(&list, 0);
 
-       close_all_packs();
+       close_all_packs(the_repository->objects);
 
        argv_array_pushl(&argv_gc_auto, "gc", "--auto", NULL);
        if (verbosity < 0)