diff options
author | Edward Thomson <ethomson@microsoft.com> | 2014-06-19 22:07:19 +0400 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2014-06-24 00:01:44 +0400 |
commit | fcb3711c64f535b57fb4e73c21d977e4fc13121f (patch) | |
tree | 6f3dad48d2f7ab589f5624a44a22b2e0a5eced52 /LibGit2Sharp | |
parent | 19cd6304bb8d935b5545ce4157c4519ce1b27b07 (diff) |
repo.Reset() renamed items correctly
Diffstat (limited to 'LibGit2Sharp')
-rw-r--r-- | LibGit2Sharp/Repository.cs | 2 |
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); } |