Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateMessage ¶
func UpdateMessage(ed editor.Editor, pr *github.PullRequest) error
UpdateMessage uses the given editor to edit the commit message of the given PR.
Types ¶
type LandRequest ¶
type LandRequest struct { // PullRqeuest to land PullRequest *github.PullRequest // Name of the local branch that points to this PR or an empty string if a // local branch for this PR is not known. LocalBranch string // Editor to use for editing the commit message. Editor editor.Editor }
LandRequest is a request to land the given pull request.
type RebaseRequest ¶ added in v0.2.0
type RebaseRequest struct { PullRequests []*github.PullRequest Base string }
RebaseRequest is a request to rebase the given list of pull requests and their dependencies onto the given base branch.
If the base branch for the given PRs on GitHub is not the same as Base, this will be updated too.
Click to show internal directories.
Click to hide internal directories.