Don't default to "master", require a branch
It doesn't really make sense to have a default branch, since we expect people to have multiple roots. Thus, require a branch specification always.
This commit is contained in:
1 parent
d145b0426c
commit
ee4edf114b
15 files changed
+105
-45
No files matched your search
@@ -70,8 +70,9 @@ gboolean ostree_repo_load_variant (OstreeRepo *self,
|
||||
GVariant **out_variant,
|
||||
GError **error);
|
||||
|
||||
gboolean ostree_repo_commit (OstreeRepo *self,
|
||||
gboolean ostree_repo_commit (OstreeRepo *self,
|
||||
const char *branch,
|
||||
const char *parent,
|
||||
const char *subject,
|
||||
const char *body,
|
||||
GVariant *metadata,
|
||||
@@ -81,8 +82,9 @@ gboolean ostree_repo_commit (OstreeRepo *self,
|
||||
GChecksum **out_commit,
|
||||
GError **error);
|
||||
|
||||
gboolean ostree_repo_commit_from_filelist_fd (OstreeRepo *self,
|
||||
gboolean ostree_repo_commit_from_filelist_fd (OstreeRepo *self,
|
||||
const char *branch,
|
||||
const char *parent,
|
||||
const char *subject,
|
||||
const char *body,
|
||||
GVariant *metadata,
|
||||
|
||||
Reference in new issue
Block a user