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:
authorKeith Dahlby <dahlbyk@gmail.com>2012-12-06 23:04:43 +0400
committernulltoken <emeric.fermas@gmail.com>2012-12-06 23:04:43 +0400
commit1fdbc89cd653f7fb9b64d7ab94f8de6ede25711a (patch)
treed32b4a1b9887391d6c902757ccc1523df5870f6c /LibGit2Sharp/CurrentOperation.cs
parent27346201a003a9a5c1e177dedf84968ba677256e (diff)
Introduce Repository.Info.CurrentOperation
Diffstat (limited to 'LibGit2Sharp/CurrentOperation.cs')
-rw-r--r--LibGit2Sharp/CurrentOperation.cs59
1 files changed, 59 insertions, 0 deletions
diff --git a/LibGit2Sharp/CurrentOperation.cs b/LibGit2Sharp/CurrentOperation.cs
new file mode 100644
index 00000000..be0ffebc
--- /dev/null
+++ b/LibGit2Sharp/CurrentOperation.cs
@@ -0,0 +1,59 @@
+namespace LibGit2Sharp
+{
+ /// <summary>
+ /// Determines the pending operation of a git repository - ie, whether
+ /// an operation (merge, cherry-pick, etc) is in progress.
+ /// </summary>
+ public enum CurrentOperation
+ {
+ /// <summary>
+ /// No operation is in progress.
+ /// </summary>
+ None = 0,
+
+ /// <summary>
+ /// A merge is in progress.
+ /// </summary>
+ Merge = 1,
+
+ /// <summary>
+ /// A revert is in progress.
+ /// </summary>
+ Revert = 2,
+
+ /// <summary>
+ /// A cherry-pick is in progress.
+ /// </summary>
+ CherryPick = 3,
+
+ /// <summary>
+ /// A bisect is in progress.
+ /// </summary>
+ Bisect = 4,
+
+ /// <summary>
+ /// A rebase is in progress.
+ /// </summary>
+ Rebase = 5,
+
+ /// <summary>
+ /// A rebase --interactive is in progress.
+ /// </summary>
+ RebaseInteractive = 6,
+
+ /// <summary>
+ /// A rebase --merge is in progress.
+ /// </summary>
+ RebaseMerge = 7,
+
+ /// <summary>
+ /// A mailbox application (am) is in progress.
+ /// </summary>
+ ApplyMailbox = 8,
+
+ /// <summary>
+ /// A mailbox application (am) or rebase is in progress.
+ /// </summary>
+ ApplyMailboxOrRebase = 9,
+ }
+}