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-06-26 17:39:17 +0400
committernulltoken <emeric.fermas@gmail.com>2013-06-28 22:17:35 +0400
commitd05b0daa16aaa287ce9068219add9030847024df (patch)
treeb309cdbd18aea8929363071ac6b1923c218bed86 /LibGit2Sharp/DiffModifiers.cs
parentfa5eb6a0864e12a46d9c33ab20cfe1cf6f0b0b7d (diff)
Rename DiffOptions into DiffModifiers
Diffstat (limited to 'LibGit2Sharp/DiffModifiers.cs')
-rw-r--r--LibGit2Sharp/DiffModifiers.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/LibGit2Sharp/DiffModifiers.cs b/LibGit2Sharp/DiffModifiers.cs
new file mode 100644
index 00000000..c7a5385c
--- /dev/null
+++ b/LibGit2Sharp/DiffModifiers.cs
@@ -0,0 +1,40 @@
+using System;
+
+namespace LibGit2Sharp
+{
+ /// <summary>
+ /// Additional behaviors the diffing should take into account
+ /// when performing the comparison.
+ /// </summary>
+ [Flags]
+ internal enum DiffModifiers
+ {
+ /// <summary>
+ /// No special behavior.
+ /// </summary>
+ None = 0,
+
+ /// <summary>
+ /// Include untracked files among the files to be processed, when
+ /// diffing against the working directory.
+ /// </summary>
+ IncludeUntracked = (1 << 1),
+
+ /// <summary>
+ /// Include unmodified files among the files to be processed, when
+ /// diffing against the working directory.
+ /// </summary>
+ IncludeUnmodified = (1 << 2),
+
+ /// <summary>
+ /// Treats the passed pathspecs as explicit paths (no pathspec match).
+ /// </summary>
+ DisablePathspecMatch = (1 << 3),
+
+ /// <summary>
+ /// Include ignored files among the files to be processed, when
+ /// diffing against the working directory.
+ /// </summary>
+ IncludeIgnored = (1 << 4),
+ }
+}