summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-10-12 15:57:53 +0200
committerAlexander Larsson <alexl@redhat.com>2020-10-23 12:30:08 +0200
commitc304703e1d88265f1fd76744b1abaa2ddf415a9e (patch)
tree3bca5a7058ab27e3847c066a8ca95b9df45d4b9f /src/libostree/ostree-repo.c
parent024ef1d756b2580ab99d0f69f451444be59c9ecc (diff)
downloadostree-c304703e1d88265f1fd76744b1abaa2ddf415a9e.tar.gz
deltas: Make ostree_repo_static_delta_reindex() public
It is useful to be able to trigger this without having to regenerate the summary. For example, if you are not using summaries, or ar generating the summaries yourself.
Diffstat (limited to 'src/libostree/ostree-repo.c')
-rw-r--r--src/libostree/ostree-repo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index 9d9146b3..c22a6666 100644
--- a/src/libostree/ostree-repo.c
+++ b/src/libostree/ostree-repo.c
@@ -5935,7 +5935,7 @@ ostree_repo_regenerate_summary (OstreeRepo *self,
g_variant_ref_sink (summary);
}
- if (!_ostree_repo_static_delta_reindex (self, NULL, cancellable, error))
+ if (!ostree_repo_static_delta_reindex (self, 0, NULL, cancellable, error))
return FALSE;
if (!_ostree_repo_file_replace_contents (self,