deltas: Prune deltas when the corresponding "to" commit vanishes
We want prune to actually give you back disk space when using deltas.
This commit is contained in:
1 parent
dbad2f6e19
commit
08476ce254
7 files changed
+86
-26
No files matched your search
@@ -1122,7 +1122,7 @@ ostree_repo_static_delta_generate (OstreeRepo *self,
|
||||
part_builder->uncompressed_size);
|
||||
}
|
||||
|
||||
descriptor_relpath = _ostree_get_relative_static_delta_path (from, to);
|
||||
descriptor_relpath = _ostree_get_relative_static_delta_superblock_path (from, to);
|
||||
descriptor_path = g_file_resolve_relative_path (self->repodir, descriptor_relpath);
|
||||
descriptor_dir = g_file_get_parent (descriptor_path);
|
||||
|
||||
|
||||
Reference in new issue
Block a user