Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1199 from maxice8/cherry-pick
Browse files Browse the repository at this point in the history
feat(commits): add support for more CherryPickCommitOptions
  • Loading branch information
svanharmelen authored Sep 1, 2021
2 parents de0117b + 017d2cd commit 5f21603
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion commits.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,9 @@ func (s *CommitsService) GetMergeRequestsByCommit(pid interface{}, sha string, o
//
// GitLab API docs: https://docs.gitlab.com/ce/api/commits.html#cherry-pick-a-commit
type CherryPickCommitOptions struct {
Branch *string `url:"branch,omitempty" json:"branch,omitempty"`
Branch *string `url:"branch,omitempty" json:"branch,omitempty"`
DryRun *bool `url:"dry_run,omitempty" json:"dry_run,omitempty"`
Message *string `url:"message,omitempty" json:"message,omitempty"`
}

// CherryPickCommit cherry picks a commit to a given branch.
Expand Down

0 comments on commit 5f21603

Please sign in to comment.