Add new Protection field to Branch constructor for consistency

This commit is contained in:
Ryan Gribble
2015-12-13 23:29:46 +10:00
parent 7033108634
commit b1542e2663
+2 -1
View File
@@ -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>