From e5a6633ae1a08ea1bc8047cb9cb5429b194dc2de Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Mon, 12 Dec 2016 17:21:03 -0500 Subject: [PATCH] Remove RepositoryCommit.Message field. (#492) This field is unused. There is no "commit message" inside of RepositoryCommit (higher level GitHub object), it's only inside of Commit (lower level git object). It was added accidentally in #49 and not caught via test due to #491. Followup to #49. See https://github.com/google/go-github/pull/49/files#r92034462. --- github/repos_commits.go | 1 - 1 file changed, 1 deletion(-) diff --git a/github/repos_commits.go b/github/repos_commits.go index d7be0e2..22e8fca 100644 --- a/github/repos_commits.go +++ b/github/repos_commits.go @@ -20,7 +20,6 @@ type RepositoryCommit struct { Author *User `json:"author,omitempty"` Committer *User `json:"committer,omitempty"` Parents []Commit `json:"parents,omitempty"` - Message *string `json:"message,omitempty"` HTMLURL *string `json:"html_url,omitempty"` URL *string `json:"url,omitempty"` CommentsURL *string `json:"comments_url,omitempty"`