Browse Source

Add merge_base_commit to compare.

Andreas Garnæs 11 years ago
committed by Will Norris
parent
commit
571e5993ba
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      github/repos_commits.go

+ 2
- 1
github/repos_commits.go View File

@ -61,7 +61,8 @@ func (c CommitFile) String() string {
// CommitsComparison is the result of comparing two commits.
// See CompareCommits() for details.
type CommitsComparison struct {
BaseCommit *RepositoryCommit `json:"base_commit,omitempty"`
BaseCommit *RepositoryCommit `json:"base_commit,omitempty"`
MergeBaseCommit *RepositoryCommit `json:"merge_base_commit,omitempty"`
// Head can be 'behind' or 'ahead'
Status *string `json:"status,omitempty"`


Loading…
Cancel
Save