line-log: extract pathspec parsing from line ranges into a helper function
[gitweb.git] / builtin / receive-pack.c
index 29f165d8bd3513a6f85667b070e8f157994364bb..c5f5da940b0dee3fd2df55e11514ee9553926e30 100644 (file)
@@ -2043,7 +2043,7 @@ int cmd_receive_pack(int argc, const char **argv, const char *prefix)
                        proc.git_cmd = 1;
                        proc.argv = argv_gc_auto;
 
-                       close_all_packs(the_repository->objects);
+                       close_object_store(the_repository->objects);
                        if (!start_command(&proc)) {
                                if (use_sideband)
                                        copy_to_sideband(proc.err, -1, NULL);