mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
Use GitReference across multiple types
This commit is contained in:
@@ -2,20 +2,12 @@
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
public class Commit
|
||||
public class Commit : GitReference
|
||||
{
|
||||
public string Sha { get; set; }
|
||||
public string Url { get; set; }
|
||||
public string Message { get; set; }
|
||||
public UserAction Author { get; set; }
|
||||
public UserAction Committer { get; set; }
|
||||
public GitReference Tree { get; set; }
|
||||
public IEnumerable<GitReference> Parents { get; set; }
|
||||
}
|
||||
|
||||
public class GitReference
|
||||
{
|
||||
public string Url { get; set; }
|
||||
public string Sha { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user