1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +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:
Stefan Haller
2025-04-07 19:53:16 +02:00
parent 2ee80d7150
commit b3bffbec4a
6 changed files with 40 additions and 11 deletions

View File

@ -77,7 +77,7 @@ func (self *CommitMessageController) GetOnFocus() func(types.OnFocusOpts) {
func (self *CommitMessageController) GetOnFocusLost() func(types.OnFocusLostOpts) {
return func(types.OnFocusLostOpts) {
self.context().RenderCommitLength()
self.context().RenderSubtitle()
}
}