From 79144d61570cf848e1bc4051cfa8d7fff7ca7a95 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Sat, 18 Oct 2014 15:10:44 -0700 Subject: [PATCH] Add HTMLURL field to RepositoryCommit. --- github/repos_commits.go | 1 + 1 file changed, 1 insertion(+) diff --git a/github/repos_commits.go b/github/repos_commits.go index 5c0137e..5a59146 100644 --- a/github/repos_commits.go +++ b/github/repos_commits.go @@ -20,6 +20,7 @@ type RepositoryCommit struct { Committer *User `json:"committer,omitempty"` Parents []Commit `json:"parents,omitempty"` Message *string `json:"message,omitempty"` + HTMLURL *string `json:"html_url,omitempty"` // Details about how many changes were made in this commit. Only filled in during GetCommit! Stats *CommitStats `json:"stats,omitempty"`