projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
176a7b4
)
lib/repo: Add OSTREE_REPO_COMMIT_STATE_NORMAL to represent most commits
author
Philip Withnall
<withnall@endlessm.com>
Wed, 8 Nov 2017 15:10:31 +0000
(15:10 +0000)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Wed, 8 Nov 2017 15:47:11 +0000
(15:47 +0000)
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 <withnall@endlessm.com>
Closes: #1335
Approved by: cgwalters
src/libostree/ostree-repo.h
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo.h
b/src/libostree/ostree-repo.h
index 15e5f94e8ccc90fb57f041502beee105a53b2da0..9a1b65ae1e2c13ec28950eb0ddfb5ae18ccf1aae 100644
(file)
--- 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;