diff options
author | Pavel Belousov <pavel.mephi@gmail.com> | 2013-11-07 20:42:36 +0400 |
---|---|---|
committer | Pavel Belousov <pavel.mephi@gmail.com> | 2013-11-08 07:20:07 +0400 |
commit | 2553c80114040517be2495ea081fa6384a60fbb4 (patch) | |
tree | fa03cec59959d76f4df42a2a607666f794c430e6 /LibGit2Sharp.Tests/CommitFixture.cs | |
parent | 5e62858541fcb6c0dd708cc61a1488a7fa48d47d (diff) |
Deprecated ResetOptions in favor ResetMode.
Diffstat (limited to 'LibGit2Sharp.Tests/CommitFixture.cs')
-rw-r--r-- | LibGit2Sharp.Tests/CommitFixture.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LibGit2Sharp.Tests/CommitFixture.cs b/LibGit2Sharp.Tests/CommitFixture.cs index c8082376..e4b746a5 100644 --- a/LibGit2Sharp.Tests/CommitFixture.cs +++ b/LibGit2Sharp.Tests/CommitFixture.cs @@ -29,7 +29,7 @@ namespace LibGit2Sharp.Tests using (var repo = new Repository(path)) { // Hard reset and then remove untracked files - repo.Reset(ResetOptions.Hard); + repo.Reset(ResetMode.Hard); repo.RemoveUntrackedFiles(); repo.Checkout("test"); @@ -246,7 +246,7 @@ namespace LibGit2Sharp.Tests using (var repoClone = new Repository(path)) { // Hard reset and then remove untracked files - repoClone.Reset(ResetOptions.Hard); + repoClone.Reset(ResetMode.Hard); repoClone.RemoveUntrackedFiles(); string headSha = repoClone.Head.Tip.Sha; @@ -550,7 +550,7 @@ namespace LibGit2Sharp.Tests string path = CloneStandardTestRepo(); using (var repo = new Repository(path)) { - repo.Reset(ResetOptions.Hard, "c47800"); + repo.Reset(ResetMode.Hard, "c47800"); CreateAndStageANewFile(repo); @@ -764,7 +764,7 @@ namespace LibGit2Sharp.Tests Assert.NotNull(mergedCommit); Assert.Equal(2, mergedCommit.Parents.Count()); - repo.Reset(ResetOptions.Soft, mergedCommit.Sha); + repo.Reset(ResetMode.Soft, mergedCommit.Sha); CreateAndStageANewFile(repo); const string commitMessage = "I'm rewriting the history!"; |