mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-01 22:52:01 +02:00
Show "hooks disabled" in title bar of commit message editor
It is shown either when committing with `w`, or when typing the skipHooks prefix if there is one. This should hopefully make it clearer when the hooks are run and when they are not.
This commit is contained in:
@@ -95,6 +95,8 @@ func (self *WorkingTreeHelper) HandleCommitPressWithMessage(initialMessage strin
|
||||
OnSwitchToEditor: func(filepath string) error {
|
||||
return self.switchFromCommitMessagePanelToEditor(filepath, forceSkipHooks)
|
||||
},
|
||||
ForceSkipHooks: forceSkipHooks,
|
||||
SkipHooksPrefix: self.c.UserConfig().Git.SkipHookPrefix,
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user