summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <[email protected]>2018-01-21 13:46:08 -0800
committerJosh Bleecher Snyder <[email protected]>2018-01-21 13:48:51 -0800
commit21fd4ad5f6ee67580fcf831917e54e18b074b5ed (patch)
tree54eabdb12f40452c7cb8a5f4611cb7aea022f952
parent432a164805a43a5ee0df15f7939dc771fc8d4fbd (diff)
rebase: add RebaseOperationReword
-rw-r--r--rebase.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rebase.go b/rebase.go
index 5206fca..4517dde 100644
--- a/rebase.go
+++ b/rebase.go
@@ -16,6 +16,8 @@ type RebaseOperationType uint
const (
// RebaseOperationPick The given commit is to be cherry-picked. The client should commit the changes and continue if there are no conflicts.
RebaseOperationPick RebaseOperationType = C.GIT_REBASE_OPERATION_PICK
+ // RebaseOperationReword The given commit is to be cherry-picked, but the client should prompt the user to provide an updated commit message.
+ RebaseOperationReword RebaseOperationType = C.GIT_REBASE_OPERATION_REWORD
// RebaseOperationEdit The given commit is to be cherry-picked, but the client should stop to allow the user to edit the changes before committing them.
RebaseOperationEdit RebaseOperationType = C.GIT_REBASE_OPERATION_EDIT
// RebaseOperationSquash The given commit is to be squashed into the previous commit. The commit message will be merged with the previous message.