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/Repository.cs')
-rw-r--r--LibGit2Sharp/Repository.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/LibGit2Sharp/Repository.cs b/LibGit2Sharp/Repository.cs
index 1c583c52..daec39e3 100644
--- a/LibGit2Sharp/Repository.cs
+++ b/LibGit2Sharp/Repository.cs
@@ -1155,7 +1155,7 @@ namespace LibGit2Sharp
CherryPickResult result = null;
- using (GitCheckoutOptsWrapper checkoutOptionsWrapper = new GitCheckoutOptsWrapper(options))
+ using (var checkoutOptionsWrapper = new GitCheckoutOptsWrapper(options))
{
var mergeOptions = new GitMergeOpts
{
@@ -1167,7 +1167,7 @@ namespace LibGit2Sharp
TargetLimit = (uint)options.TargetLimit,
};
- GitCherryPickOptions gitCherryPickOpts = new GitCherryPickOptions()
+ var gitCherryPickOpts = new GitCherryPickOptions()
{
Mainline = (uint)options.Mainline,
MergeOpts = mergeOptions,
@@ -1175,7 +1175,7 @@ namespace LibGit2Sharp
CheckoutOpts = checkoutOptionsWrapper.Options,
};
- Proxy.git_cherry_pick(handle, commit.Id.Oid, gitCherryPickOpts);
+ Proxy.git_cherrypick(handle, commit.Id.Oid, gitCherryPickOpts);
if (Index.IsFullyMerged)
{