From 2ed6e40cd20dcd24453c40c3dfc819fbc7a9e5f3 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 27 Apr 2021 16:14:40 -0400 Subject: [PATCH] core: Add comment about SERVER_BASE commits This made me hesitate for a bit so add a comment about it to make it clear. The RPMOSTREE_ASSEMBLE_TYPE_SERVER_BASE path was used by the `ex container`, which was subsequently ripped out. --- src/libpriv/rpmostree-core.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libpriv/rpmostree-core.cxx b/src/libpriv/rpmostree-core.cxx index 6386fb04..2d459fad 100644 --- a/src/libpriv/rpmostree-core.cxx +++ b/src/libpriv/rpmostree-core.cxx @@ -4752,6 +4752,8 @@ rpmostree_context_commit (RpmOstreeContext *self, } else if (assemble_type == RPMOSTREE_ASSEMBLE_TYPE_SERVER_BASE) { + /* Note this branch isn't actually used today; the compose side commit + * code is in impl_commit_tree(). */ g_autoptr(GVariant) spec_v = g_variant_ref_sink (rpmostree_treespec_to_variant (self->spec));