Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'LibGit2Sharp/CloneOptions.cs')
-rw-r--r--LibGit2Sharp/CloneOptions.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/LibGit2Sharp/CloneOptions.cs b/LibGit2Sharp/CloneOptions.cs
index ce176eaa..779fef99 100644
--- a/LibGit2Sharp/CloneOptions.cs
+++ b/LibGit2Sharp/CloneOptions.cs
@@ -29,6 +29,12 @@ namespace LibGit2Sharp
public bool Checkout { get; set; }
/// <summary>
+ /// The name of the branch to checkout. When unspecified the
+ /// remote's default branch will be used instead.
+ /// </summary>
+ public string BranchName { get; set; }
+
+ /// <summary>
/// Handler for checkout progress information.
/// </summary>
public CheckoutProgressHandler OnCheckoutProgress { get; set; }