mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
remove empty message check as message of commit can be empty
This commit is contained in:
parent
0accb07dcc
commit
0606b7a43b
4 changed files with 107 additions and 1 deletions
|
@ -160,7 +160,7 @@ func (self *WorkingTreeHelper) HandleWIPCommitPress() error {
|
|||
func (self *WorkingTreeHelper) HandleCommitPress() error {
|
||||
message := self.contexts.CommitMessage.GetPreservedMessage()
|
||||
|
||||
if message != "" {
|
||||
if message == "" {
|
||||
commitPrefixConfig := self.commitPrefixConfigForRepo()
|
||||
if commitPrefixConfig != nil {
|
||||
prefixPattern := commitPrefixConfig.Pattern
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue