pull: Fold together deltapart+fallback count for display
It's just simpler, and I'm not sure people are going to care much about the difference by default. We already folded in the fallback sizes into the download totals, so folding in the count makes things consistent; previously you could see e.g. `3/3 parts, 100MB/150MB` and be confused. Closes: #678 Approved by: giuseppe
This commit is contained in:
1 parent
693f7c5f60
commit
b5c5003ff6
7 files changed
+63
-9
No files matched your search
@@ -937,7 +937,7 @@ _ostree_repo_static_delta_dump (OstreeRepo *self,
|
||||
{
|
||||
guint64 size, usize;
|
||||
g_autoptr(GVariant) checksum_v = NULL;
|
||||
char checksum[65];
|
||||
char checksum[OSTREE_SHA256_STRING_LEN+1];
|
||||
g_variant_get_child (fallback, i, "(y@aytt)", NULL, &checksum_v, &size, &usize);
|
||||
ostree_checksum_inplace_from_bytes (ostree_checksum_bytes_peek (checksum_v), checksum);
|
||||
size = maybe_swap_endian_u64 (swap_endian, size);
|
||||
|
||||
Reference in new issue
Block a user