From 43f8a3a78eb065632237b2c83133f34e77e4a017 Mon Sep 17 00:00:00 2001 From: Tom Smith Date: Wed, 4 Nov 2015 09:23:58 +0000 Subject: [PATCH] R# rename Myers algorithm to fix the spelling (the spelling is "Myers", not "Meyers": https://git-scm.com/docs/git-diff) Fixes https://github.com/libgit2/libgit2sharp/issues/1228 --- LibGit2Sharp/CompareOptions.cs | 4 ++-- LibGit2Sharp/DiffAlgorithm.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LibGit2Sharp/CompareOptions.cs b/LibGit2Sharp/CompareOptions.cs index 6e9acb434..6b3acdfe6 100644 --- a/LibGit2Sharp/CompareOptions.cs +++ b/LibGit2Sharp/CompareOptions.cs @@ -14,7 +14,7 @@ public CompareOptions() { ContextLines = 3; InterhunkLines = 0; - Algorithm = DiffAlgorithm.Meyers; + Algorithm = DiffAlgorithm.Myers; } /// @@ -47,7 +47,7 @@ public CompareOptions() /// /// Algorithm to be used when performing a Diff. - /// By default, will be used. + /// By default, will be used. /// public DiffAlgorithm Algorithm { get; set; } } diff --git a/LibGit2Sharp/DiffAlgorithm.cs b/LibGit2Sharp/DiffAlgorithm.cs index 9e89e68e6..c51ca0021 100644 --- a/LibGit2Sharp/DiffAlgorithm.cs +++ b/LibGit2Sharp/DiffAlgorithm.cs @@ -8,7 +8,7 @@ public enum DiffAlgorithm /// /// The basic greedy diff algorithm. /// - Meyers = 0, + Myers = 0, /// /// Use "patience diff" algorithm when generating patches.