mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-29 01:51:20 -05:00
oci: Use the correct progress layer size when using deltas
This commit is contained in:
committed by
Alexander Larsson
parent
37dcccea61
commit
f2cb157294
@@ -5892,7 +5892,7 @@ flatpak_pull_from_oci (OstreeRepo *repo,
|
||||
}
|
||||
|
||||
progress_data.pulled_layers++;
|
||||
progress_data.previous_layers_size += layer->size;
|
||||
progress_data.previous_layers_size += delta_layer ? delta_layer->size : layer->size;
|
||||
}
|
||||
|
||||
if (!ostree_repo_write_mtree (repo, archive_mtree, &archive_root, cancellable, error))
|
||||
|
||||
Reference in New Issue
Block a user