diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-06-26 17:29:33 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-06-28 22:17:19 +0400 |
commit | fa5eb6a0864e12a46d9c33ab20cfe1cf6f0b0b7d (patch) | |
tree | af34f6df1ed730421db000511108cb9f8c5d4dbc /LibGit2Sharp/StashModifiers.cs | |
parent | 6a257ed0d22eefd1899173021adbe882f04d7e7f (diff) |
Rename StashOptions into StashModifiers
Diffstat (limited to 'LibGit2Sharp/StashModifiers.cs')
-rw-r--r-- | LibGit2Sharp/StashModifiers.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/LibGit2Sharp/StashModifiers.cs b/LibGit2Sharp/StashModifiers.cs new file mode 100644 index 00000000..b0e6d41f --- /dev/null +++ b/LibGit2Sharp/StashModifiers.cs @@ -0,0 +1,34 @@ +using System; + +namespace LibGit2Sharp +{ + ///<summary> + /// Options controlling Stash behavior. + ///</summary> + [Flags] + public enum StashModifiers + { + /// <summary> + /// Default + /// </summary> + Default = 0, + + /// <summary> + /// All changes already added to the index + /// are left intact in the working directory + /// </summary> + KeepIndex = (1 << 0), + + /// <summary> + /// All untracked files are also stashed and then + /// cleaned up from the working directory + /// </summary> + IncludeUntracked = (1 << 1), + + /// <summary> + /// All ignored files are also stashed and then + /// cleaned up from the working directory + /// </summary> + IncludeIgnored = (1 << 2), + } +} |