diff options
author | Jakob Kogler <jakob.kogler@gmail.com> | 2021-12-25 13:54:46 +0100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-07 11:01:42 +1100 |
commit | 68fc6059d3551e88634caaad2f1ecdbfe6200af4 (patch) | |
tree | 8dc9328557883c343475ac3d5585e34205e08108 /pkg/gui/files_panel.go | |
parent | d517531c16fdd5acfba6c13f5eafa04becf33147 (diff) |
rename variable to failedCommitMessage
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index ea897f085..2c7cd2a3a 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -386,9 +386,9 @@ func (gui *Gui) handleCommitPress() error { return gui.promptToStageAllAndRetry(gui.handleCommitPress) } - if len(gui.State.messageFailedCommit) > 0 { + if len(gui.State.failedCommitMessage) > 0 { gui.Views.CommitMessage.ClearTextArea() - gui.Views.CommitMessage.TextArea.TypeString(gui.State.messageFailedCommit) + gui.Views.CommitMessage.TextArea.TypeString(gui.State.failedCommitMessage) gui.Views.CommitMessage.RenderTextArea() } else { commitPrefixConfig := gui.commitPrefixConfigForRepo() |