deltas: Set indexed-deltas key in the config and summary

Clients can use these during pull and avoid downloading the summary if
needed, or use the indexed-deltas instead of relying on the ones in
the summary which may be left out.
This commit is contained in:
Alexander Larsson committed 2020-10-23 13:06:46 +02:00
1 parent 0984ff8471
commit 6c8e6539e2
3 files changed
+19

No files matched your search

+3
View File
@@ -5842,6 +5842,9 @@ ostree_repo_regenerate_summary (OstreeRepo *self,
g_variant_new_boolean (tombstone_commits));
}
g_variant_dict_insert_value (&additional_metadata_builder, OSTREE_SUMMARY_INDEXED_DELTAS,
g_variant_new_boolean (TRUE));
/* Add refs which have a collection specified, which could be in refs/mirrors,
* refs/heads, and/or refs/remotes. */
{