summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/test_list.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-04-29 20:04:43 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-04-30 13:19:54 +1000
commita57310df240405770d37f46362b28fe464ef9531 (patch)
tree20f2e695a8b2c14026b7381a3a51406208145068 /pkg/integration/tests/test_list.go
parent9d68b287db57b49eddf4b2b81ca1acd2e16aa5aa (diff)
Retain commit message when cycling history
When cycling history, we want to make it so that upon returning to the original prompt, you get your text back. Importantly, we don't want to use the existing preservedMessage field for that because that's only for preserving a NEW commit message, and we don't want the history stuff of the commit reword flow to overwrite that.
Diffstat (limited to 'pkg/integration/tests/test_list.go')
-rw-r--r--pkg/integration/tests/test_list.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/integration/tests/test_list.go b/pkg/integration/tests/test_list.go
index 10838c008..8c1d75c6e 100644
--- a/pkg/integration/tests/test_list.go
+++ b/pkg/integration/tests/test_list.go
@@ -49,6 +49,8 @@ var tests = []*components.IntegrationTest{
commit.CommitMultiline,
commit.CreateTag,
commit.DiscardOldFileChange,
+ commit.History,
+ commit.HistoryComplex,
commit.NewBranch,
commit.ResetAuthor,
commit.Revert,