summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-14 11:32:46 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-14 11:32:46 +0200
commit3602c53dd8a850a34626293fc3fb1645cced1ca1 (patch)
tree3122487bf1171e138ce6de6c939c184a2f2aa9d6 /app
parentdb797bf4dfd4bd55b28220826cc652c5ee75093d (diff)
downloadxdg-app-3602c53dd8a850a34626293fc3fb1645cced1ca1.tar.gz
build-export: Don't use generate-sizes
This is pretty inefficient in terms of download counts, and its not cached. Lets store the data we need in the summary, which we need to download anways, and which we cache.
Diffstat (limited to 'app')
-rw-r--r--app/xdg-app-builtins-build-export.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/xdg-app-builtins-build-export.c b/app/xdg-app-builtins-build-export.c
index d5e0f5c..e8e531c 100644
--- a/app/xdg-app-builtins-build-export.c
+++ b/app/xdg-app-builtins-build-export.c
@@ -365,8 +365,7 @@ xdg_app_builtin_build_export (int argc, char **argv, GCancellable *cancellable,
if (!ostree_mutable_tree_ensure_dir (mtree, "files", &files_mtree, error))
goto out;
- modifier = ostree_repo_commit_modifier_new (OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS |
- OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES,
+ modifier = ostree_repo_commit_modifier_new (OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS,
(OstreeRepoCommitFilter)commit_filter, &commit_data, NULL);
if (opt_runtime)