summaryrefslogtreecommitdiffstats
path: root/pkg/commands/types/enums/enums.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/types/enums/enums.go')
-rw-r--r--pkg/commands/types/enums/enums.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/commands/types/enums/enums.go b/pkg/commands/types/enums/enums.go
new file mode 100644
index 000000000..7e8a81798
--- /dev/null
+++ b/pkg/commands/types/enums/enums.go
@@ -0,0 +1,14 @@
+package enums
+
+type RebaseMode int
+
+const (
+ // this means we're neither rebasing nor merging
+ REBASE_MODE_NONE RebaseMode = iota
+ // this means normal rebase as opposed to interactive rebase
+ REBASE_MODE_NORMAL
+ REBASE_MODE_INTERACTIVE
+ // REBASE_MODE_REBASING is a general state that captures both REBASE_MODE_NORMAL and REBASE_MODE_INTERACTIVE
+ REBASE_MODE_REBASING
+ REBASE_MODE_MERGING
+)