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:
authorEdward Thomson <ethomson@microsoft.com>2014-06-19 22:07:19 +0400
committerEdward Thomson <ethomson@microsoft.com>2014-06-24 00:01:44 +0400
commitfcb3711c64f535b57fb4e73c21d977e4fc13121f (patch)
tree6f3dad48d2f7ab589f5624a44a22b2e0a5eced52 /LibGit2Sharp
parent19cd6304bb8d935b5545ce4157c4519ce1b27b07 (diff)
repo.Reset() renamed items correctly
Diffstat (limited to 'LibGit2Sharp')
-rw-r--r--LibGit2Sharp/Repository.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/Repository.cs b/LibGit2Sharp/Repository.cs
index a0b5df92..54791a8e 100644
--- a/LibGit2Sharp/Repository.cs
+++ b/LibGit2Sharp/Repository.cs
@@ -792,7 +792,7 @@ namespace LibGit2Sharp
Ensure.ArgumentNotNull(commit, "commit");
- var changes = Diff.Compare<TreeChanges>(commit.Tree, DiffTargets.Index, paths, explicitPathsOptions);
+ var changes = Diff.Compare<TreeChanges>(commit.Tree, DiffTargets.Index, paths, explicitPathsOptions, new CompareOptions { Similarity = SimilarityOptions.None });
Index.Reset(changes);
}