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
@@ -1340,7 +1340,8 @@ request_static_delta_superblock_sync (OtPullData *pull_data,
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
gs_unref_variant GVariant *ret_delta_superblock = NULL;
|
||||
gs_free char *delta_name = _ostree_get_relative_static_delta_path (from_revision, to_revision);
|
||||
gs_free char *delta_name =
|
||||
_ostree_get_relative_static_delta_superblock_path (from_revision, to_revision);
|
||||
gs_unref_bytes GBytes *delta_superblock_data = NULL;
|
||||
gs_unref_bytes GBytes *delta_meta_data = NULL;
|
||||
gs_unref_variant GVariant *delta_superblock = NULL;
|
||||
|
||||
Reference in new issue
Block a user