[google/go-github] 5be211: Fix CreateCommit

4 views
Skip to first unread message

GitHub

unread,
Jul 22, 2014, 11:17:57 AM7/22/14
to go-g...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/google/go-github
Commit: 5be211b5783d49614bd1de7a4a464e2ec05d42e7
https://github.com/google/go-github/commit/5be211b5783d49614bd1de7a4a464e2ec05d42e7
Author: Tobias Schmidt <t...@soundcloud.com>
Date: 2014-07-22 (Tue, 22 Jul 2014)

Changed paths:
M github/git_commits.go
M github/git_commits_test.go

Log Message:
-----------
Fix CreateCommit

The input and response types for commit messages differ in the API.
While commit.Tree and commit.Parents are objects with fields when
returned by the GitHub API, the attributes are plain strings when
creating new commits.

See: https://developer.github.com/v3/git/commits/#create-a-commit


Reply all
Reply to author
Forward
0 new messages