Merge branch 'ds/close-object-store'
The commit-graph file is now part of the "files that the runtime may keep open file descriptors on, all of which would need to be closed when done with the object store", and the file descriptor to an existing commit-graph file now is closed before "gc" finalizes a new instance to replace it. * ds/close-object-store: packfile: rename close_all_packs to close_object_store packfile: close commit-graph in close_all_packs commit-graph: use raw_object_store when closing
This commit is contained in:
@ -1680,7 +1680,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
|
||||
|
||||
string_list_clear(&list, 0);
|
||||
|
||||
close_all_packs(the_repository->objects);
|
||||
close_object_store(the_repository->objects);
|
||||
|
||||
argv_array_pushl(&argv_gc_auto, "gc", "--auto", NULL);
|
||||
if (verbosity < 0)
|
||||
|
Reference in New Issue
Block a user