Patrick Steinhardt <ps@xxxxxx> writes: > The function `odb_pack_keep()` creates a file at the passed-in path. If > this fails, then the function re-tries by first creating any potentially > missing leading directoriesk and then trying to create the file once s/directoriesk/directories > again. As such, this function doesn't host any kind of logic that is > specific to the object store, but is rather a generic helper function. > > Rename the function to `safe_create_file_with_leading_directories()` and > move it into "path.c". While at it, refactor it so that it loses its > dependency on `the_repository`. > Rest of the patch looks good.
Attachment:
signature.asc
Description: PGP signature