diff options
author | Edward Thomson <ethomson@microsoft.com> | 2014-06-19 22:18:50 +0400 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2014-06-24 00:01:46 +0400 |
commit | 2378a56fadea4b9cdd57e0abead4c5fd061567bc (patch) | |
tree | 91d3b40fb201a966a1fa29d04e1a4da06c73b132 /LibGit2Sharp | |
parent | fcb3711c64f535b57fb4e73c21d977e4fc13121f (diff) |
repo.Unstage() renamed items correctly
Diffstat (limited to 'LibGit2Sharp')
-rw-r--r-- | LibGit2Sharp/Index.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/Index.cs b/LibGit2Sharp/Index.cs index e953910d..ee5e0297 100644 --- a/LibGit2Sharp/Index.cs +++ b/LibGit2Sharp/Index.cs @@ -211,7 +211,7 @@ namespace LibGit2Sharp if (repo.Info.IsHeadUnborn) { - var changes = repo.Diff.Compare<TreeChanges>(null, DiffTargets.Index, paths, explicitPathsOptions); + var changes = repo.Diff.Compare<TreeChanges>(null, DiffTargets.Index, paths, explicitPathsOptions, new CompareOptions { Similarity = SimilarityOptions.None }); Reset(changes); } |