We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eddce1f commit d4b9acdCopy full SHA for d4b9acd
pkg/gui/controllers/custom_patch_options_menu_action.go
@@ -186,7 +186,9 @@ func (self *CustomPatchOptionsMenuAction) handlePullPatchIntoNewCommit() error {
186
commitIndex := self.getPatchCommitIndex()
187
return self.c.Helpers().Commits.OpenCommitMessagePanel(
188
&helpers.OpenCommitMessagePanelOpts{
189
- CommitIndex: commitIndex,
+ // Pass a commit index of one less than the moved-from commit, so that
190
+ // you can press up arrow once to recall the original commit message:
191
+ CommitIndex: commitIndex - 1,
192
InitialMessage: "",
193
SummaryTitle: self.c.Tr.CommitSummaryTitle,
194
DescriptionTitle: self.c.Tr.CommitDescriptionTitle,
0 commit comments