Commit 1ee5acc2 authored by Michael Lihs's avatar Michael Lihs Committed by Sander van Harmelen

Add support for `start_branch` in `CreateCommitOptions` (#291)

* Add missing fields to `Namespace` struct

* Add support for namespaces: get

* Add support for `start_branch` in `CreateCommitOptions`
parent 637aaac1
......@@ -150,6 +150,7 @@ func (s *CommitsService) GetCommit(pid interface{}, sha string, options ...Optio
type CreateCommitOptions struct {
Branch *string `url:"branch" json:"branch"`
CommitMessage *string `url:"commit_message" json:"commit_message"`
StartBranch *string `url:"start_branch,omitempty" json:"start_branch,omitempty"`
Actions []*CommitAction `url:"actions" json:"actions"`
AuthorEmail *string `url:"author_email,omitempty" json:"author_email,omitempty"`
AuthorName *string `url:"author_name,omitempty" json:"author_name,omitempty"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment