diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-04-29 20:04:43 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-04-30 13:19:54 +1000 |
commit | a57310df240405770d37f46362b28fe464ef9531 (patch) | |
tree | 20f2e695a8b2c14026b7381a3a51406208145068 /pkg/integration/tests/test_list.go | |
parent | 9d68b287db57b49eddf4b2b81ca1acd2e16aa5aa (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.go | 2 |
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, |