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:
authornulltoken <emeric.fermas@gmail.com>2013-01-23 13:12:36 +0400
committernulltoken <emeric.fermas@gmail.com>2013-01-23 14:11:33 +0400
commit9a9f7d452c3a8232d57c6a5e25fe0dacce7df6de (patch)
tree356fac4ca8357e1422d364c01ed6023abec63caa
parentf321fe3bcb0d509a96a421ff836edac2c97764d4 (diff)
Fix some compilation warnings
-rw-r--r--LibGit2Sharp.Tests/DiffTreeToTargetFixture.cs2
-rw-r--r--LibGit2Sharp/Ignore.cs12
2 files changed, 9 insertions, 5 deletions
diff --git a/LibGit2Sharp.Tests/DiffTreeToTargetFixture.cs b/LibGit2Sharp.Tests/DiffTreeToTargetFixture.cs
index 26f64778..639d04e9 100644
--- a/LibGit2Sharp.Tests/DiffTreeToTargetFixture.cs
+++ b/LibGit2Sharp.Tests/DiffTreeToTargetFixture.cs
@@ -68,7 +68,7 @@ namespace LibGit2Sharp.Tests
{
Tree tree = repo.Head.Tip.Tree;
- TreeChanges changes = repo.Diff.Compare(tree, DiffTarget.WorkingDirectory);
+ TreeChanges changes = repo.Diff.Compare(tree, DiffTargets.WorkingDirectory);
Assert.NotNull(changes);
Assert.Equal(6, changes.Count());
diff --git a/LibGit2Sharp/Ignore.cs b/LibGit2Sharp/Ignore.cs
index a3367bd6..068b5bd2 100644
--- a/LibGit2Sharp/Ignore.cs
+++ b/LibGit2Sharp/Ignore.cs
@@ -1,11 +1,14 @@
-using System;
-using System.Collections.Generic;
+using System.Collections.Generic;
using System.Linq;
using System.Text;
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
+ /// <summary>
+ /// Provides methods to manage the rules ensuring that some specific
+ /// untracked files are ignored.
+ /// </summary>
public class Ignore
{
private readonly Repository repo;
@@ -39,8 +42,9 @@ namespace LibGit2Sharp
}
/// <summary>
- /// Resets all custom rules that were applied via calls to <see cref="Repository.AddCustomIgnoreRules"/> - note that
- /// this will not affect the application of the user/repo .gitignores.
+ /// Resets all custom rules that were applied via calls to
+ /// <see cref="AddTemporaryRules"/> - note that this will not affect
+ /// the application of the user/repo .gitignores.
/// </summary>
public virtual void ResetAllTemporaryRules()
{