mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 18:35:35 +00:00
Add new Protection field to Branch constructor for consistency
This commit is contained in:
@@ -9,10 +9,11 @@ namespace Octokit
|
||||
{
|
||||
public Branch() { }
|
||||
|
||||
public Branch(string name, GitReference commit)
|
||||
public Branch(string name, GitReference commit, BranchProtection protection)
|
||||
{
|
||||
Name = name;
|
||||
Commit = commit;
|
||||
Protection = protection;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user