From: Philip Withnall Date: Wed, 8 Nov 2017 15:10:31 +0000 (+0000) Subject: lib/repo: Add OSTREE_REPO_COMMIT_STATE_NORMAL to represent most commits X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~29^2~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9c4870b5e1512e2e8ceb2be913c7e93f0999462a;p=ostree.git lib/repo: Add OSTREE_REPO_COMMIT_STATE_NORMAL to represent most commits This allows more explicit handling of commit state in code using libostree, rather than hard-coding a commit state of 0 for ‘normal’. Signed-off-by: Philip Withnall Closes: #1335 Approved by: cgwalters --- diff --git a/src/libostree/ostree-repo.h b/src/libostree/ostree-repo.h index 15e5f94e..9a1b65ae 100644 --- a/src/libostree/ostree-repo.h +++ b/src/libostree/ostree-repo.h @@ -540,6 +540,7 @@ gboolean ostree_repo_load_variant_if_exists (OstreeRepo *self, GError **error); typedef enum { + OSTREE_REPO_COMMIT_STATE_NORMAL = 0, OSTREE_REPO_COMMIT_STATE_PARTIAL = (1 << 0), } OstreeRepoCommitState;