diff options
author | ekkapop-w <ekkapop.w@gmail.com> | 2014-02-26 14:02:45 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2014-12-05 23:32:34 +0300 |
commit | bf464cf8a99285abba628a275f682b3d6208d5f0 (patch) | |
tree | 8d4ff93c61d2e45c4bca3e6a65ed4d7986382460 /LibGit2Sharp/Repository.cs | |
parent | ae654785c22fb54c28a27d128b70d74c4e74d597 (diff) |
Teach Repository.Clone to accept a specific branch to checkout
Diffstat (limited to 'LibGit2Sharp/Repository.cs')
-rw-r--r-- | LibGit2Sharp/Repository.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGit2Sharp/Repository.cs b/LibGit2Sharp/Repository.cs index d92aed91..ac792284 100644 --- a/LibGit2Sharp/Repository.cs +++ b/LibGit2Sharp/Repository.cs @@ -553,6 +553,7 @@ namespace LibGit2Sharp Bare = options.IsBare ? 1 : 0, CheckoutOpts = gitCheckoutOptions, RemoteCallbacks = gitRemoteCallbacks, + CheckoutBranch = StrictUtf8Marshaler.FromManaged(options.BranchName) }; FilePath repoPath; |