mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 20:45:51 +00:00
Replace SignatureResponse and CommitEntity with Committer
A recent PR added CommitEntity but we already had SignatureResponse expressly for this purpose. So this commit renames SignatureResponse to Committer and removes CommitEntity and replaces it with Committer.
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Octokit
|
||||
{
|
||||
public Commit() { }
|
||||
|
||||
public Commit(string url, string label, string @ref, string sha, User user, Repository repository, string message, SignatureResponse author, SignatureResponse committer, GitReference tree, IEnumerable<GitReference> parents, int commentCount)
|
||||
public Commit(string url, string label, string @ref, string sha, User user, Repository repository, string message, Committer author, Committer committer, GitReference tree, IEnumerable<GitReference> parents, int commentCount)
|
||||
: base(url, label, @ref, sha, user, repository)
|
||||
{
|
||||
Ensure.ArgumentNotNull(parents, "parents");
|
||||
@@ -25,9 +25,9 @@ namespace Octokit
|
||||
|
||||
public string Message { get; protected set; }
|
||||
|
||||
public SignatureResponse Author { get; protected set; }
|
||||
public Committer Author { get; protected set; }
|
||||
|
||||
public SignatureResponse Committer { get; protected set; }
|
||||
public Committer Committer { get; protected set; }
|
||||
|
||||
public GitReference Tree { get; protected set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user