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:18:50 +0400
committerEdward Thomson <ethomson@microsoft.com>2014-06-24 00:01:46 +0400
commit2378a56fadea4b9cdd57e0abead4c5fd061567bc (patch)
tree91d3b40fb201a966a1fa29d04e1a4da06c73b132 /LibGit2Sharp
parentfcb3711c64f535b57fb4e73c21d977e4fc13121f (diff)
repo.Unstage() renamed items correctly
Diffstat (limited to 'LibGit2Sharp')
-rw-r--r--LibGit2Sharp/Index.cs2
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);
}